|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-08-17 04:36 UTC] derick@php.net
[2004-07-20 21:23 UTC] riseofthethorax at yahoo dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 12:00:01 2025 UTC |
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!)