... my $pid = fork(); if (undefined $pid) { die 'Fork failed'; } if (!$pid) { # I am in the child process system $MYCOMMAND; exit; } # I am in the parent process # continue with other business ...