Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

RFC: IPC::System::Simple under Win32

by pjf (Curate)
on Jul 09, 2007 at 05:57 UTC ( [id://625565]=perlmeditation: print w/replies, xml ) Need Help??

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.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://625565]
Approved by bingos
Front-paged by bingos
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 07:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found