This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: put the process running in background
- From: "John \(Eljay\) Love-Jensen" <eljay at adobe dot com>
- To: <tprince at computer dot org>
- Cc: "VOLTER" <dimoski at gmail dot com>, "MSX to GCC" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 25 Apr 2007 05:17:53 -0700
- Subject: RE: put the process running in background
- References: <C2543C31.2131E%eljay@adobe.com> <462EF228.5050501@myrealbox.com>
Hi Tim,
>Beats me why so many systems have begun requiring that </dev/null.
To disconnect stdin.
Your 'myapp' program can do that programmatically, and most well-behaved daemon applications do just that.
But if you are running some application that you are unsure whether or not it disconnects itself from the stdin, stdout, and stderr, then you can tell the shell to do it for you.
Sincerely,
--Eljay