IPC::Open3(3p) Perl Programmers Reference Guide IPC::Open3(3p)
IPC::Open3(3p) Perl Programmers Reference Guide IPC::Open3(3p) # IPC::Open3(3p) Perl Programmers Reference Guide IPC::Open3(3p) NNAAMMEE # IPC::Open3 - open a process for reading, writing, and error handling using open3() SSYYNNOOPPSSIISS # use Symbol 'gensym'; # vivify a separate handle for STDERR my $pid = open3(my $chld_in, my $chld_out, my $chld_err = gensym, 'some', 'cmd', 'and', 'args'); # or pass the command through the shell my $pid = open3(my $chld_in, my $chld_out, my $chld_err = gensym, 'some cmd and args'); # read from parent STDIN # send STDOUT and STDERR to already open handle open my $outfile, '>>', 'output. ...