I'm trying to figure out why this command script isn't working.
killall Google\ Chrome;
open /Application/Google\ Chrome.app -args --disable-restore-session-state
. I am trying to kill any instance of Chrome that happens to open on startup. Then launch Chrome with an argument. I have to run the script twice to get Chrome to launch. Can anyone help?