Help for this page

Select Code to Download


  1. or download this
    use IO::Handle;
    STDOUT->autoflush(1);
    STDERR->autoflush(1);
    
  2. or download this
    use strict;
    use IPC::Run qw(run);
    ...
    my ($in, $out);
    run( \@com, \$in, \$out, \$out);
    print $out;