Reputation: 347
I have a script to open chrome with some custom arguments:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --use-system-ssl --use-spdy=off
I need to run this and immediately close the process running it without killing chrome. Is there some way to do this?
Upvotes: 0
Views: 271
Reputation: 22870
Just run it in background/fork:
#/bin/sh
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --use-system-ssl --use-spdy=off &
Upvotes: 1
Reputation: 806
Say your script was run_chrome. Then you could do {run_chrome &} && disown;
Upvotes: 1