Reputation: 240
Running a ruby script in Sublime 2 I'm in an infinite loop. Is there an equivalent of bash ctrl-c that will force stop the script without closing the application? All controls in the window seem unresponsive.
Upvotes: 5
Views: 11930
Reputation: 1060
In Sublime Text 3 they have Cancel Build. Not sure if 2 has it but if it does try that under tools. Ctrl-C in ST3.
Upvotes: 5
Reputation: 21
On a UNIX machine:
$killall "ruby"
did the trick for me, given you don't run any other ruby script in the mean time.
Upvotes: 2