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?