Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: RFC: IPC::System::Simple under Win32

by xdg (Monsignor)
on Jul 11, 2007 at 13:35 UTC ( [id://626005]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use IPC::System::Simple qw(run);
    
    my $exit_value1 = run("foo", @args);
    
    my $exit_value2 = run([0..5], "foo", @args);
    
  2. or download this
    use IPC::System::ExitValue qw/exit_value exit_signal/;
    
    system( "foo", @args );
    croak "foo stopped early" if exit_signal($?);
    my $exit_value = exit_value($?);
    
  3. or download this
    use IPC::System::ExitValue qw/assert_exit/;
    
    system( "foo", @args ) and assert_exit( 0 .. 5 );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://626005]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-28 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found