Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

guitarmaster18

macrumors regular
Original poster
Mar 27, 2007
158
0
How would you run say... a UNIX command in terminal as a background process, but not be able to see it running unless you access it through Activity Monitor? I'm looking for something that I can input into one of my little UNIX apps that sets the desktop as a screen saver. I'm looking for a way I can run that without noticing terminal open. Any thoughts?
 

cruzrojas

macrumors member
Mar 26, 2007
67
0
USA
If is one application you will run from terminal, you can use &
example

>./MyApp &

that will force the application to run on the background.
Just make sure it doesn't have outputs to screen because those will appear while you are working.

I usually need to run long programs and collect the data, so what I do is redirect the output to a file and run it in the background.

>./MyApp > out.dat &
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.