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