in reply to Re^2: Process Management
in thread Process Management

There's a subtle bug...

Isn't doom already taking care of the 'fork() failed' case (returning undef) with this line?

... } else { # this is child code die "cannot fork: $!" unless defined $pid; # <-- ...

Replies are listed 'Best First'.
Re^4: Process Management
by gwadej (Chaplain) on Jan 19, 2009 at 14:18 UTC

    Drat! I missed that.

    G. Wade