ID: 12803
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Output Control
Operating System: any
PHP Version: 4.0.6
New Comment:

Nog a bug in PHP. Support questions belong on the [EMAIL PROTECTED] mailing 
list.

Previous Comments:
------------------------------------------------------------------------

[2001-08-17 04:31:46] [EMAIL PROTECTED]

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 -> job.pl
#!/usr/bin/perl
   close(stdout);

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


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12803&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
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