I think you don't want WNOHANG here... At least, with waitpid($pid,0) it does what I'd expect it to do. Sample output:
Process spawned with PID = 24247 HELP_VALUE is 24247 ExitCODE is 2 Process spawned with PID = 24248 HELP_VALUE is 24248 ExitCODE is 1
In reply to Re: IPC problem
by almut
in thread IPC problem
by gyre007
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |