Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

techmonkey

macrumors 6502a
Original poster
Jun 8, 2007
596
0
I created a script to open a specific Firefox profile, but the script stays open until I close Firefox. How can I end the script once Firefox opens?

Code:
do shell script "/Applications/firefox.app/Contents/MacOS/firefox -P Accounts-Firefox"
 

techmonkey

macrumors 6502a
Original poster
Jun 8, 2007
596
0
Either use activity monitor or use the kill command from the terminal (assuming it is run as a separate process).

LOL, thats not much of a solution!

Found this on another thread,

added this "&> /dev/null &"

to the end. Works like I want it to.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.