Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to force Firefox to launch in a new process?

Tags:

Is there a command-line argument that would force firefox.exe to launch a new process for a particular URL regardless of whether another instance of firefox is already running?

like image 731
ykaganovich Avatar asked Dec 05 '08 21:12

ykaganovich


People also ask

How do I open Firefox with CMD?

You can open the command line interface by pressing Shift+F2.

How do I create a Firefox profile from the command line?

To start the Profile Manager, type firefox.exe -P into a command window. Note: If Mozilla Firefox is started by Silk Test Workbench, an empty profile is used. This ensures that the test starts at a clean state. If the user manually starts Mozilla Firefox, the default profile is used.

How do I create a new instance of Firefox?

You can use the -no-remote command line option to start a new Firefox process that is invisible to the first process. [1] By using -no-remote along with the -P option to select a different profile, you can open multiple instances of Firefox at the same time, using separate profiles.

How do I stop Firefox from running in the background Linux?

You can close Firefox through the Terminal if it refuses to close through Firefox > Quit<br> You can open the Terminal by searching for it on the Spotlight (top right corner, magifying glass) Once open, you can run this command to kill the Firefox process: *kill -9 $(ps -x | grep firefox) I'm not a Mac user but that ...


1 Answers

If you have a second profile (like 'sidekick'), the following will launch a new Firefox process:

firefox.exe -no-remote -p sidekick

However, if that profile is already used by a current Firefox session, that will not work.

To create a new profile launch Firefox from the command line with the -P flag and create it.

firefox.exe -P

The OP ykaganovich adds in the comments (in Oct. 2020, three years later):

recent versions of Firefox (as of 2020) also have profile management UI available at about:profiles

like image 190
VonC Avatar answered Nov 02 '22 05:11

VonC