I have 2 aliases on my .bash_profile
file containing:
alias chrome="/Applications/Google\\ \\Chrome.app/Contents/MacOS/Google\\ \\Chrome"
alias chromex="chrome --disable-web-security"
but when running, it opens up Chrome but keeps holding the terminal window...once I close the terminal window it also closes chrome.
Is there any way to make it run in the background?
I remembered I use this for thin
webserver with thin start -d
or thin start --daemonize
?
Thanks
update
besides James answer I also found the nohup
command line which made possible for me to quit terminal without problem that was a mix by appending the &
to the nohup
command:
$ nohup chromex &
the default output is written to the nohup.out
file
To stop the job I can run ps ax
, find the PID though the right command and then kill -9 PID