mmartinson
mmartinson

Reputation: 240

How to stop an infinite loop in a sublime text build

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

Answers (2)

Eric Mentele
Eric Mentele

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

Arthur
Arthur

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

Related Questions