http://qs321.pair.com?node_id=410013


in reply to Re^3: Running a process in the background
in thread Running a process in the background

Hello, Remember to check for a fork error after forking:
if (my $pid = fork) { ## Parent } elsif ($pid == 0) { ## Child } else { ## Error, $pid is undefined }

Replies are listed 'Best First'.
Re^5: Running a process in the background
by Joost (Canon) on Nov 23, 2004 at 23:43 UTC