Home Download Buy Blog Forum Support

CTRL-C :: Terminating Python Applications

CTRL-C :: Terminating Python Applications

Postby eae on Sun Feb 12, 2012 8:58 pm

I am loving Sublime Text 2, running it on Mac OS X 10.7.2.

I was playing around with the Bottle web framework, http://bottlepy.org/docs/dev/. When I launch the server from within the editor (CMD-B), the "output" window opens under the code and says:

Bottle server starting up (using PasteServer())...
Listening on http://0.0.0.0:8888/
Hit Ctrl-C to quit.

But hitting Ctrl-C does not terminate the server like it would if I launched it from a terminal window. Is there a way to kill off a Python instance like that from within Sublime Text 2?
eae
 
Posts: 2
Joined: Sun Feb 12, 2012 8:45 pm

Re: CTRL-C :: Terminating Python Applications

Postby willy1234x1 on Sun Feb 12, 2012 9:51 pm

Try Ctrl+break (right next to scroll lock)
willy1234x1
 
Posts: 50
Joined: Thu Dec 22, 2011 7:55 am

Re: CTRL-C :: Terminating Python Applications

Postby eae on Sun Feb 12, 2012 11:06 pm

There is no "break" key so I googled around and bit and some said that Ctrl-Break was 'Typically, ⌘ .' Some said the Return key was in the combination. I tried them both and several other guesses. Nothing has worked so far. I am using an iMac with one of those small key-boards.
eae
 
Posts: 2
Joined: Sun Feb 12, 2012 8:45 pm

Re: CTRL-C :: Terminating Python Applications

Postby jps on Mon Feb 13, 2012 2:59 am

The Tools/Cancel Build menu item does this
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm


Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 23 guests