in reply to Run the process in the background

Fork should do what you want.
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