Help for this page

Select Code to Download


  1. or download this
    open(FH, "$Exec_Cmd 2>&1 |");
    while (<FH>)
    ...
                # does not handle STDIN  
      
    }
    
  2. or download this
    open(FH, "$Exec_Cmd 0>&2 |");
    while (<FH>)
    ...
                # does not handle STDERR  
      
    }