I was writing a .sh script for opening a bunch of apps and i was looking for a way to force my apps to launch minimized.
The open
command man page usage prompt, (displayed when you run open
without args) says:
-j, --hide Launches the app hidden.
but some apps are still opening in the foreground (i.e. Chrome and Airmail).
I'm running El Capitain (10.11.6) and using zsh.
Do you know why those apps behave like that or if there's another way to accomplish this in bash?
Thanks.
-j
is not listed in the man page in El Capitan, or Mavericks, for that matter./Applications/Google\ Chrome.app/Contents/Versions/XX.X.XXXX.XX/Google\ Chrome\ Helper.app
processes. When newer version of GoogleChrome is installed only the filder inVersions
is changed.