Sublime Forum

Command Line -w hangs indefinitely on Mac OS X 10.7.4

#1

Hi,

I easily set up the Sublime Text command line; here is my symlink in /usr/local/bin:

$ ls -al /usr/local/bin/subl lrwxr-xr-x 1 adam_tankanow staff 64 Aug 3 15:22 /usr/local/bin/subl -> /Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl

However, when I start up sublime from the command line with the -w flag, e.g. subl -w ., the command line never returns to prompt without a ctrl-c. I have tried closing all windows and killing the entire program after Sublime Text starts.

Here is my system info:

Mac OS X 10.7.4
Python 2.7.1
Sublime Text 2 Build 2217

Please let me know if there is any other information needed.

Has anyone else run into this issue?

Thanks,

Adam (Happy Sublime Text User!)

0 Likes

#2

Well I feel pretty silly: this seems to only be a problem when opening a directory.

That is:

subl -w build.gradle  # returns to prompt after closing sublime text window
subl -w . # doesn't return to prompt after closing sublime text window
0 Likes

#3

[quote=“atankanow”]Well I feel pretty silly: this seems to only be a problem when opening a directory.
[/quote]

Why should this make you feel silly? I’d still expect it to return to the prompt after closing the window without having to press ^C.

0 Likes