my $cmd = "..."; # this is the important part you have to supply print "Trying to launch '$cmd'\n"; system($cmd) == 0 or warn "Couldn't launch '$cmd': $!/$?";