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