From:             [EMAIL PROTECTED]
Operating system: any
PHP version:      4.0.6
PHP Bug Type:     Output Control
Bug description:  Can php close STDOUT

Would someone tell me how to close STDOUT?

I would like to do some jobs like
   system("/usr/local/bin/php -q jobs.php");
because I don't want it to wait for jobs.php done.

I see system() manual and know to redirect jobs.php's output
should be ok!
I tried system("..... > /dev/null") but fail (reasonable)
but I can't close STDOUT in job.php

if in perl, I can do
# job.php ->

but I don't know how to close/redirect STDOUT in php.
(I've search general maillist for this!)

Edit bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to