X
Нажмите здесь, чтобы перейти на мобильную версию сайта.

Форум поддержки

Firefox 68 Mac, can't start w/profile from command line

Размещено

Long-time Firefox user with several profiles defined via ProfileManager. Have several AppleScript apps that start firefox-bin with "-P profilename" to start Firefox with the named profile (see <https://spf13.com/post/managing-multiple-firefox-profiles-in-os-x/> for a description of how this is set up). They no longer work. Starting the profiles from a shell prompt also does not seem to work, at best it opens a new Firefox window in each currently-open Firefox profile. Have tried -P with profile name (profile name quoted), --profile with path to profile's "Root Directory", --profile with path to profile's "Local Directory", pathnames quoted if necessary; all of the above with --new-instance. No joy. What am I missing?

Long-time Firefox user with several profiles defined via ProfileManager. Have several AppleScript apps that start firefox-bin with "-P profilename" to start Firefox with the named profile (see <https://spf13.com/post/managing-multiple-firefox-profiles-in-os-x/> for a description of how this is set up). They no longer work. Starting the profiles from a shell prompt also does not seem to work, at best it opens a new Firefox window in each currently-open Firefox profile. Have tried -P with profile name (profile name quoted), --profile with path to profile's "Root Directory", --profile with path to profile's "Local Directory", pathnames quoted if necessary; all of the above with --new-instance. No joy. What am I missing?

Выбранное решение

There were a few changes here recently, you might want to try `firefox -P profile -no-remote`

Прочитайте этот ответ в контексте 2
Цитата

Дополнительные сведения о системе

Установленные плагины

  • Shockwave Flash 32.0 r0

Приложение

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0

Дополнительная информация

Задавший вопрос

Additional information: One way profiles do work: about:profiles, and "Launch profile in new browser". So I think my profile definitions are in order, it's getting them going via firefox-bin command-line arguments that is broken.

Additional information: One way profiles do work: about:profiles, and "Launch profile in new browser". So I think my profile definitions are in order, it's getting them going via firefox-bin command-line arguments that is broken.
Помогла ли вам это? 0
Цитата
cor-el
  • Top 10 Contributor
  • Moderator
17413 решений 157300 ответов
Размещено

Does it work if you use firefox -P "profile" instead of firefox-bin ?

Does it work if you use firefox -P "profile" instead of firefox-bin ?
Помогла ли вам это?
Цитата

Задавший вопрос

It works the same way: I get a new window for each in-use profile.

It works the same way: I get a new window for each in-use profile.
Помогла ли вам это?
Цитата

Задавший вопрос

Running this from the AppleScript again, I am reminded that it put up a dialog, "The command exited with a non-zero status", and that if I echo $? after trying the same command from a shell prompt the status is 1. (I also get the new window open under the in-use profile, as opposed to the profile I wanted to launch).

Running this from the AppleScript again, I am reminded that it put up a dialog, "The command exited with a non-zero status", and that if I echo $? after trying the same command from a shell prompt the status is 1. (I also get the new window open under the in-use profile, as opposed to the profile I wanted to launch).
Помогла ли вам это?
Цитата
Standard8 35 решений 192 ответов
Размещено

Выбранное решение

There were a few changes here recently, you might want to try `firefox -P profile -no-remote`

There were a few changes here recently, you might want to try `firefox -P profile -no-remote`
Помогла ли вам это? 2
Цитата

Задавший вопрос

That seems to work well enough to get the AppleScript method going again. Thanks! (Might be nice if it were in the usage message.)

That seems to work well enough to get the AppleScript method going again. Thanks! (Might be nice if it were in the usage message.)
Помогла ли вам это?
Цитата
Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.