Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6071583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:03:50+00:00 2026-05-23T10:03:50+00:00

I found some articles and even stack| overflow questions addressing this subject, but I

  • 0

I found some articles and even stack|overflow questions addressing this subject, but I still can’t do it..

What I want to do is open an instance of firefox from python. then the python application should keep minding its own business and ignore the firefox process.

I was able to achive this goal on Windows-7 and XP using:

subprocess.Popen()

On OS X I tried:

subprocess.Popen(['/Applications/Firefox.app/Contents/MacOS/firefox-bin'])
subprocess.call(['/Applications/Firefox.app/Contents/MacOS/firefox-bin'])
subprocess.call(['/Applications/Firefox.app/Contents/MacOS/firefox-bin'], shell=True)
os.system('/Applications/Firefox.app/Contents/MacOS/firefox-bin') 

(and probably some others I forgot) to no avail. My python app freezes till I go and close the firefox app.

What am I missing here? any clues?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:03:51+00:00Added an answer on May 23, 2026 at 10:03 am

    You’ll need to detach the process somehow. I snatched this from spawning process from python

    import os
    pid = os.fork()
    if 0 == pid:
      os.system('firefox')
      os._exit(0)
    else:
      os._exit(0)
    

    This spawns a forked headless version of the same script which can then execute whatever you like and quit directly afterwards.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While not a torrent, but some articles can be found on the net about
I tried to research this, but there were still some questions left unanswered. I
As I have referred some articles and sites, I found that we can also
i found some articles, some projects to create thumbnail of a video, using ffmpeg.exe,
I have been looking around on the web and found some articles about the
I found some mapkit code on the internet that looks like this: - (void)recenterMap
I found some information about this on Scott Hanselmans Blog Does anybody exactly know
I have found some in the Cappuccino website (vim, textmate and SubEthaEdit), but not
I've found various people/articles (e.g. this SO answer ) suggesting that the value of
I've read some articles about writing composite components in JSF 2 and even about

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.