On Unix (MacOSX 10.3), I have an exec
$rs = array(); $rc = 0;
exec("program yadda yadda yadda",$rs,$rc) ;
and the program does a fork with parent exitting immediately
(to daemonise the program). With ps I can see the parent as a
zombie, by the PHP code never reaps the exit code or returns
from the exec. This was working fine yesterday and today suddenly
stopped working. Does anybody have a suggestion what can be
wrong with this fershinlungger code?
--
SM Ryan http://www.rawbw.com/~wyrmwif/
There are subtler ways of badgering a witness.
$rs = array(); $rc = 0;
exec("program yadda yadda yadda",$rs,$rc) ;
and the program does a fork with parent exitting immediately
(to daemonise the program). With ps I can see the parent as a
zombie, by the PHP code never reaps the exit code or returns
from the exec. This was working fine yesterday and today suddenly
stopped working. Does anybody have a suggestion what can be
wrong with this fershinlungger code?
--
SM Ryan http://www.rawbw.com/~wyrmwif/
There are subtler ways of badgering a witness.
Comment