Home Download Buy Blog Forum Support

--project command line argument opens multiple instances

--project command line argument opens multiple instances

Postby richdeus on Thu Jun 28, 2012 3:31 pm

Running sublime with the --project <projectfile> option opens multiple instances...

> sublime_text --project myproject.sublime-project
opens one window with the expected project, ...but ALSO opens a second or even third window with previous folders and/or an empty untitled document

> sublime_text .
opens one window with an empty untitled document, and the side bar is on the current directory (this is expected)
...but ALSO opens a second window with the previous project or folder

Does anyone else see this? I can't be the only one to run sublime text with command line parameters?!?
(I use a batch file to launch ST with different projects)

This even occurs "out of the box" with a fresh install (ver.2.0/2210) - and did not happen in the 2181 build.
But I have also tried many combinations of "hot_exit" "remember_open_files" and other settings.
richdeus
 
Posts: 5
Joined: Tue Jun 26, 2012 3:39 pm

Re: --project command line argument opens multiple instances

Postby DaveSomething on Mon Jul 16, 2012 2:39 pm

I see the same behavior on a clean install. I never used --project on earlier installs.
DaveSomething
 
Posts: 1
Joined: Mon Jul 16, 2012 2:38 pm

Re: --project command line argument opens multiple instances

Postby robwala on Thu Aug 30, 2012 7:33 pm

I just tried the --project option for the first time today (version 2.0.1, 2217) and also got 2 copies of ST2 opening up - one with the requested project, one with the project that had been open when I last closed ST2.
robwala
 
Posts: 1
Joined: Thu Aug 30, 2012 7:30 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 28 guests