in reply to Run the process in the background
my $pid = fork(); unless (defined($pid)) { die "Fork failed: $!"; } unless ($pid) { # we're the child exec("cmd"); # execute the command, terminating the child. } exit; # exit parent [download]