Re: Redirecting STDERR to a file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



js wrote:

> nohup would work in some ways, but that's not a real daemon
> because the process will have tty, in a session and has a process
> group. I like to have a real daemon.

Well, it depends on what you're after.  Are you solving a problem or are
you doing an exercise because you can? 

If you're solving a problem, and my nohup suggestion isn't sufficient,
just write your daemon in C.  If it's an exercise, take a look at
proc_open().


/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux