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 Jochem Maas
grape wrote: Hello, ... I get the same result. In fact, I tried a *lot* of variations of this code without success. good man, sorry to hear your not finding the problem - seems to look more like a bug - maybe post some more detailed code? (or does the problem occur with the actual code

Re: [PHP] Dettach problem

2006-06-14 Thread grape
Hello Richard, Richard Lynch skrev: This seems to me like a cogent bug report... http://bugs.php.net/ Yup, I'll report it if we cannot find a explaination in a couple of days. But what does the posix_setsid() bit do? Seems like you could take that out too, no?... Or does that promote

Re: [PHP] Dettach problem

2006-06-14 Thread Jochem Maas
grape wrote: Hello Richard, Richard Lynch skrev: This seems to me like a cogent bug report... http://bugs.php.net/ Yup, I'll report it if we cannot find a explaination in a couple of days. as a last resort you might as on internals@lists.php.net as to whether anyone there considers

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:

[PHP] Dettach problem

2006-06-13 Thread grape
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 removed to improve readability) ? echo Hello from parent\n;

Re: [PHP] Dettach problem

2006-06-13 Thread Jochem Maas
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 removed to improve readability)

Re: [PHP] Dettach problem

2006-06-13 Thread Richard Lynch
On Tue, June 13, 2006 4:22 am, grape wrote: 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 removed to improve readability) ? echo