How do I daemonize a process?

2007-07-23 Thread Garrett Cooper
As the subject suggests I'm trying to determine how I can daemonize a C process, outside of using the rc infrastructure, so that it won't exit when the TTY exists. Does anyone know any quick references or examples? Thanks, -Garrett ___

Re: How do I daemonize a process?

2007-07-23 Thread Garrett Cooper
Garrett Cooper wrote: As the subject suggests I'm trying to determine how I can daemonize a C process, outside of using the rc infrastructure, so that it won't exit when the TTY exists. Does anyone know any quick references or examples? Thanks, -Garrett s/C process/C application process/

Re: How do I daemonize a process?

2007-07-23 Thread Simon 'corecode' Schubert
Garrett Cooper wrote: Garrett Cooper wrote: As the subject suggests I'm trying to determine how I can daemonize a C process, outside of using the rc infrastructure, so that it won't exit when the TTY exists. Does anyone know any quick references or examples? Thanks, -Garrett s/C

Re: How do I daemonize a process?

2007-07-23 Thread Garrett Cooper
Jose-Marcio Martins da Cruz wrote: Simon 'corecode' Schubert wrote: Garrett Cooper wrote: Garrett Cooper wrote: As the subject suggests I'm trying to determine how I can daemonize a C process, outside of using the rc infrastructure, so that it won't exit when the TTY exists. Does anyone

Re: How do I daemonize a process?

2007-07-23 Thread Peter Boosten
Simon 'corecode' Schubert wrote: Garrett Cooper wrote: Garrett Cooper wrote: As the subject suggests I'm trying to determine how I can daemonize a C process, outside of using the rc infrastructure, so that it won't exit when the TTY exists. Does anyone know any quick references or

Re: How do I daemonize a process?

2007-07-23 Thread Jose-Marcio Martins da Cruz
Simon 'corecode' Schubert wrote: Garrett Cooper wrote: Garrett Cooper wrote: As the subject suggests I'm trying to determine how I can daemonize a C process, outside of using the rc infrastructure, so that it won't exit when the TTY exists. Does anyone know any quick references or

Re: How do I daemonize a process?

2007-07-23 Thread Jacques Fourie
On Mon, Jul 23, 2007 at 01:41:00AM -0700, Garrett Cooper wrote: Garrett Cooper wrote: As the subject suggests I'm trying to determine how I can daemonize a C process, outside of using the rc infrastructure, so that it won't exit when the TTY exists. Does anyone know any quick references

Re: How do I daemonize a process?

2007-07-23 Thread Maxime Henrion
Garrett Cooper wrote: As the subject suggests I'm trying to determine how I can daemonize a C process, outside of using the rc infrastructure, so that it won't exit when the TTY exists. Does anyone know any quick references or examples? Thanks, -Garrett The proper way to do this is to

Re: How do I daemonize a process?

2007-07-23 Thread Jona Joachim
On Mon, 23 Jul 2007 01:38:40 -0700 Garrett Cooper [EMAIL PROTECTED] wrote: As the subject suggests I'm trying to determine how I can daemonize a C process, outside of using the rc infrastructure, so that it won't exit when the TTY exists. Does anyone know any quick references or examples?