I want to launch an app on OSX from a script. I need pass it command line arguments. Unfortunately, open
doesn't accept command line args.
The only option I can think of is to use nohup myApp > /dev/null &
to launch my app so it can exist independently of the script that launches it.
Any better suggestions?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…