+3

# Windows: --project command line switch should open only the project, no other windows

7 years ago

I'd like to run

path\to\sublime_text.exe --project Y.sublime-project

from a batch file, but the behavior is weird:

• If I had another project X open in the previous session, Sublime will open X and Y in separate windows
• If I had all projects close in the previous session, Sublime will open only Y
• If I had project Y open in the previous session, Sublime will open Y and an empty window

Can this please be streamlined, or maybe there should be more command line parameters to affect what is opened from the previous session, e.g. --no-previous-session.