in reply to IPC problem
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: IPC problem
by gyre007 (Novice) on Oct 18, 2007 at 13:32 UTC | |
by almut (Canon) on Oct 18, 2007 at 13:52 UTC | |
by gyre007 (Novice) on Oct 18, 2007 at 13:57 UTC | |
by gyre007 (Novice) on Oct 18, 2007 at 14:02 UTC | |
by almut (Canon) on Oct 18, 2007 at 14:22 UTC | |
by gyre007 (Novice) on Oct 18, 2007 at 13:52 UTC |