Re: Redirecting STDERR to a file?
| From: | Per Jessen | Date: | Sat, 02 Feb 2008 09:56:16 +0000 |
| Subject: | Re: Redirecting STDERR to a file? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268559@lists.php.net to get a copy of this message | ||
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