Home Download Buy Blog Forum Support

--wait command line option on Windows?

--wait command line option on Windows?

Postby rchl on Sun Jun 19, 2011 1:05 pm

Mac version has a great feature - --wait command line option can be used to block external program that triggered opening of file until tab is closed. Is something like that possible on Windows?

If not, then at least it would be nice if I could start separate instance of Sublime. --new-window sort of does that but this also does not block external application until window is closed.
I'm asking because I would like to use Sublime with git, It opens text files on rebasing that user should edit and save. It does not work well when sublime gives back control to application right after file is opened.

The way it works on Mac would be ideal but if that's not possible due to platform limitations, another good option would be command line options: --new-window --no-session-save (self explanatory I hope) that would give back control to application after window is closed.
rchl
 
Posts: 148
Joined: Fri Mar 04, 2011 11:02 pm

Re: --wait command line option on Windows?

Postby jps on Sun Jun 19, 2011 1:25 pm

It's on the todo list to be done for Windows too, but I haven't gotten around to it yet.

As a workaround, there is an undocumented "--multiinstance" command line parameter you can use, but it'll still clobber the session, which isn't ideal. You could use a portable installation as a second version to run just for this purpose (it won't interact with the main applications session file then), but that's getting pretty kludgy.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: --wait command line option on Windows?

Postby rchl on Sun Jun 19, 2011 2:51 pm

--multiinstance is good enough workaround for now. Thanks.
rchl
 
Posts: 148
Joined: Fri Mar 04, 2011 11:02 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 34 guests