|
|
Play Audio in Background?
That only somewhat works. I can continue working in that same terminal window, however, if I close it, I get a warning saying that I'm going to terminate running processes (login, bash, afplay)
Play Audio in Background?
Don't worry that you're doing something wrong. You're correct. Using & puts it in the background of the shell, but if you kill the shell, you kill that application as well.
Play Audio in Background?
There's an easier way to close a terminal window (which is not the preferred way to end the shell inside it---similar to using 'force quit' to end safari instead of the quit menu command) without OS X whining or killing the programs you've started:
Play Audio in Background?
This is a little complicated - the full details are far too involved to go into right here.
Play Audio in Background?
There is a simpler way to run a program in the background and detach it from the controlling terminal without using nohup. Just do this.
The parentheses request the creation of a subshell which becomes the parent process for the program you run. You can verify this works as follows.
You'll see something like this.
(Ignore the |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|