Help for this page

Select Code to Download


  1. or download this
    my $pid = open2(\*OUT, \*IN, '| findstr hello');
                                  ^
    
  2. or download this
    my $pid;
    eval {
    ...
    if ($@ and $@ =~ /^open2:/) {
        die "$@: $!\n";
    }
    
  3. or download this
    > perl 729630.pl
    open2: exec of NotThere ... failed at 729630.pl line 8
    : No such file or directory