note 6009 deleted from exec by ronabop
| From: | ronabop@php.net | Date: | Fri, 11 Aug 2000 09:28:32 +0000 |
| Subject: | note 6009 deleted from exec by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1085@lists.php.net to get a copy of this message | ||
I am trying to run a system command, and capture the output line by line using
<?PHP
exec(command,$array);
?>
It works awesome, and does what I want to, but PHP seems to leave the commands process unfinished.
In a zombie state.
Does anyone know of an alternate function, or a way of ending the process once the command output
has been received?
thanx