This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: put the process running in background


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]