Help for this page

Select Code to Download


  1. or download this
    use IPC::Open2;
    use File::Temp;
    ...
    waitpid $pid, 0; # wait for child to exit
    
    # now you can read the child's output from $fh