Sublime Forum

Empty window when opening a file through command line

#1

I’m running 3.0, dev 3030; sometimes when I open a file through terminal (e.g, subl test.py), Sublime opens a blank window instead of the actual file. This occurs seemingly randomly and is does not 100% of the time; I suspect it’s some kind of race condition. Is this a tracked/known issue? My alias on OS X 10.8.3 for Sublime.

alias subl="’/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl’"

0 Likes

#2

Yeah, it’s all over the forum.

0 Likes

#3

It’s also a long time bug. We know it’s not fixed but has it ever even been acknowledged?

Here is a video of it: http://www.youtube.com/watch?v=G04S2e_-ItM)

0 Likes

#4

To my knowledge the issue is acknowledged here:

http://sublimetext.userecho.com/topic/62343-subl-with-no-window-open-doesnt-open-the-file/

And a workaround was posted on Stack Overflow:

http://stackoverflow.com/questions/17326970/opening-a-sublime-project-from-the-command-line-without-opening-a-blank-window

0 Likes