Help for this page

Select Code to Download


  1. or download this
    my $wait = 0;
    my $pid = system(1,"cmd...");
    ...
    $rc = $?;
    
    print "Command completed with exit code $wait with return code $rc.\n"
    +;