Re: [PHP] Dettach problem

2006-06-14 Thread grape
Hello, Jochem Maas skrev: pure guess work coming up... grape wrote: Hi all, I would like run a php-script via CLI which outputs some information to stdout, and then go into background. I use code similar to this to fork and to dettach the child I/O from the TTY (some error handling

Re: [PHP] Dettach problem

2006-06-14 Thread grape
with 2.4.27 kernel misbehaves as well, using posix_setsid() or not. I see the output of the last echo command on stdout of the parent process there also. The plot thickens! /Grape -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dettach problem

2006-06-14 Thread grape
Hi, Jochem Maas skrev: as a last resort you might as on internals@lists.php.net as to whether anyone there considers this a possible bug. I'll do that. Jochem, Richard - thank you for your input. /Grape -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Dettach problem

2006-06-13 Thread grape
) goes to stdout of the parent process. So if I do: php test.php output Using PHP 5.1.2, the file contains: --- Hello from parent This message should NOT go to stdout of parent process --- Can anybody explain this? I run FreeBSD 6.0-RELEASE... Regards, Grape -- PHP