Help for this page

Select Code to Download


  1. or download this
      use IPC::Run::Simple;
      run("some", "command")
    ...
      use IPC::Run::Simple qw(:all);
      run("some", "command")
        or die "badness! $ERR";
    
  2. or download this
      use IPC::Run::Simple qw(:Fatal);
      my $exit_value = run(command => [ "some", "command" ],
                           allowed => [ 0, 1, 5 ]);
    
  3. or download this
      use IPC::Run::Simple qw(:Fatal);
      my $exit_value = run(command => "some_command",
                           allowed => [ 0, 1, 5 ]);