当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Trying to start several firefox instances

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: Amelia

more options

I am writing a C program, which needs to start several firefox windows. The problem is: I need to kill them later, so I need the process id. So I started each of them (via fork and exec) with the argument "-new-instance", but get the error "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." when a firefox process was already running (because there is just one allowed, I guess).

Is there a way to fix this problem, or at least get the pid of the process firefox connects to if i don't start it with "-new-instance"? By the way: It just has to work on one computer, so I can adjust settings etc. System: Arch Linux (Manjaro)

Thanks for your help

I am writing a C program, which needs to start several firefox windows. The problem is: I need to kill them later, so I need the process id. So I started each of them (via fork and exec) with the argument "-new-instance", but get the error "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." when a firefox process was already running (because there is just one allowed, I guess). Is there a way to fix this problem, or at least get the pid of the process firefox connects to if i don't start it with "-new-instance"? By the way: It just has to work on one computer, so I can adjust settings etc. System: Arch Linux (Manjaro) Thanks for your help

すべての返信 (2)

more options

Does using the -no-remote command line option instead change the situation?

more options

Hi,

Although I don't know what you are making, may I remind you that the killall command works, so maybe if all need to be killed, you can use that.

Regards

Andmagdo