Help for this page

Select Code to Download


  1. or download this
       # Call this system's shell, returns TRUE on 0 exit code
       # THIS IS THE OPPOSITE SENSE OF system()'s RETURN VALUE
    ...
       # with this form, it's here to behave like system() with an
       # inverted result.
          $r = run "cat a b c";
    
  2. or download this
    $ perl -wMstrict -MIPC::Run=run -e' my $r = run "pstree -A $$" '
    perl---sh---pstree