Help for this page

Select Code to Download


  1. or download this
    system("some_command");
    
    ...
    else {
       die "child exited with value %d\n", $? >> 8;
    }
    
  2. or download this
    use IPC::System::Simple qw(run);
    
    run("some_command");
    
  3. or download this
    use IPC::System::Simple qw(run);
    
    run("foo");               # No meta-chars, shell never used
    run("bar | bar");         # Meta-chars, shell always used.
    run("foo", "bar", "<baz") # Multi-arg, shell never used.