linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* a 'wrapper'
@ 2002-06-29 10:25 xlp
  2002-06-29 14:49 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 3+ messages in thread
From: xlp @ 2002-06-29 10:25 UTC (permalink / raw)
  To: linux-c-programming

hi, i have been trying to let certain process working on a remote machine in this way:
nohup ./a.out >> /dev/null &
but when i log off, the process dies.
Can i code a certain process that fork itself, call setsid() and run a.out with system() or exec() ?
How can i deal with this situation? I want that the executable object a.out forget about terminal control and do its work without care about sdtin/stdout/stderr.

bye Unix friends.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-30  7:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-29 10:25 a 'wrapper' xlp
2002-06-29 14:49 ` Jan-Benedict Glaw
2002-06-30  7:52   ` Ben Marsh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).