Help for this page

Select Code to Download


  1. or download this
    $all_the_output = `my_shell_command`;
    
  2. or download this
    $pid = open(PIPE, "my_shell_command |") or die;
    while ($line = <PIPE>) { 
    ...
        }
    }
    ...