带有 -no-remote 的“Firefox 已经在运行”

Ste*_*nny 11 firefox

我想打开一个新的 Firefox 实例。我试过

firefox -no-remote
Run Code Online (Sandbox Code Playgroud)

MOZ_NO_REMOTE=1 firefox
Run Code Online (Sandbox Code Playgroud)

文档中所述。但是我不断收到消息

Firefox is already running, but is not responding. To open a new window, 
you must first close the existing Firefox process, or restart your system.
Run Code Online (Sandbox Code Playgroud)

如何从命令行启动新的 Firefox 实例?

igl*_*vzx 18

-no远程选项用于在同一时间运行多个Firefox配置。您收到“Firefox 已在运行”消息,因为您正尝试使用相同的配置文件打开第二个 Firefox 实例。

您应该按如下方式使用此选项:

firefox -no-remote -P "Another Profile"
Run Code Online (Sandbox Code Playgroud)

或者

firefox -no-remote -profile "profile_path"
Run Code Online (Sandbox Code Playgroud)

whereprofile_path是绝对或相对(到firefox.exe)路径。