You are here

Open new URL with command line (FFP is already opened)

4 posts / 0 new
Last post
emptyb
Offline
Last seen: 9 years 2 months ago
Joined: 2015-02-21 17:07
Open new URL with command line (FFP is already opened)

Is it possible to open new tab with specified URL using pure command line? I tried:
FirefoxPortable.exe -new-tab "http://address"
It works when FFP is closed, but when it's already opened with other tabs I get this error:

Firefox is already running, but is not responding. The old Firefox process must be closed to open a new window.

Is there any way around that?

My setup:
- FF 28 as default browser
- FFP 35 as secondary browser
using -no-remote on FFP to run both together

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 34 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
No Remote Breaks It

Using no remote completely breaks Firefox's ability to pass in a passed URL to a running instance. There is no way around this.

Multiple instances is not meant for production use, only for testing.

Sometimes, the impossible can become possible, if you're awesome!

emptyb
Offline
Last seen: 9 years 2 months ago
Joined: 2015-02-21 17:07
Thanks for answer

This is certainly bad news but thank you.

Do you have any idea for solution to this if I wanted to keep current setup (FF + FFP) and have FFP open tabs from command line? Any ideas at all?

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 34 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
There Is No Way Around This

Sadly, as mentioned, there is no way around this. When Firefox is launched with a URL and there is an existing Firefox running, it passes it off and closes down. With multiple instances, it doesn't know which to pass to. Again, there is no way around this. No workaround. It occurs within Firefox itself.

It's a known issue for years and will likely not be fixed because running multiple instances is for testing only and not for production (aka every normal) use. It's not supported or recommended. Neither by us nor by Mozilla. You can do it by way of no-remote, which is what the launcher uses as well, but this issue is one side effect. The only fix for it is to not run two separate instances of Firefox with different profiles at the same time.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments