Para obtener más información, esto es lo que ./firefox --help
sale en mi Mac:
Usage: ./firefox [ options ... ] [URL]
where options include:
--g-fatal-warnings Make all warnings fatal
Firefox options
-h or --help Print this message.
-v or --version Print Firefox version.
-P <profile> Start with <profile>.
--profile <path> Start with profile at <path>.
--migration Start with migration wizard.
--ProfileManager Start with ProfileManager.
--no-remote Do not accept or send remote commands; implies
--new-instance.
--new-instance Open new instance, not a new window in running instance.
--UILocale <locale> Start with <locale> resources as UI Locale.
--safe-mode Disables extensions and themes for this session.
--headless Run without a GUI.
--marionette Enable remote control server.
--browser Open a browser window.
--new-window <url> Open <url> in a new window.
--new-tab <url> Open <url> in a new tab.
--private-window <url> Open <url> in a new private window.
--preferences Open Preferences dialog.
--search <term> Search <term> with your default search engine.
--jsconsole Open the Browser Console.
--jsdebugger Open the Browser Toolbox.
--wait-for-jsdebugger Spin event loop until JS debugger connects.
Enables debugging (some) application startup code paths.
Only has an effect when `--jsdebugger` is also supplied.
--devtools Open DevTools on initial load.
--start-debugger-server [ws:][ <port> | <path> ] Start the debugger server on
a TCP port or Unix domain socket path. Defaults to TCP port
6000. Use WebSocket protocol if ws: prefix is specified.
--recording <file> Record drawing for a given URL.
--recording-output <file> Specify destination file for a drawing recording.
--setDefaultBrowser Set this app as the default browser.
Puede ver que no restore-session
se enumera ninguna opción como . Además, el documento oficial de Mozilla enumeró 7 casos en los que Firefox restaura la sesión, sin mencionar la línea de comandos.
Puede intentar configurar Firefox para restaurar siempre la sesión anterior en Preferencias> General> Cuando se inicia Firefox (seleccionar Show your windows and tabs from last time
) e invocar de manera ./firefox
simple.