Click to See Complete Forum and Search --> : "forking" a program??


merz
03-21-2002, 07:46 PM
I'm not sure forking is the right term, but I'm not sure what is. Here is my problem:

In X, when I launch a program from a terminal like so:

[mybox]$ fooapp &

The program launches fine. However, when I close the terminal window I launched it from, fooapp also dies. How can I run a a program so that is it not attached or linked to the terminal window I started it from.

Thanks.

demian
03-21-2002, 07:50 PM
nohup fooapp&

The program output will be appended to ./nohup.out if you have write permission to ./ otherwise it will go to ~/nohup.out