Command line parameter to fork process

Felix Oghină 6 years ago 0

There should be a command line parameter that will cause sublime to fork the process and detach from the shell when starting up. I'm often in a terminal window and want to open a file in sublime, but if it's not already started it will take over the command line until I exit it. However, if sublime is already running, it will open the file in an existing window and return control to my shell.

I'd like to have a parameter I can pass on the command line (and ultimately create an alias that contains it) that will fork and return control to my shell immediately after opening the file(s), regardless of whether sublime was already running or not.