It would be really nice if -new-window and -new-tab had the same behavior whether or not a browser is already running. Currently if no browser is running, 'firefox -new-window <url>' does not exit with a status code after the URL is opened (i.e. it waits for all windows to be closed before exiting), however if a browser is already running, this command does exit immediately, presumably with a status code indicating success.
It would be really nice if -new-window and -new-tab had the same behavior whether or not a browser is already running. Currently if no browser is running, 'firefox -new-window <url>' does not exit with a status code after the URL is opened (i.e. it waits for all windows to be closed before exiting), however if a browser is already running, this command does exit immediately, presumably with a status code indicating success.