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

Re: Wrapper function to execute process

by jasonk (Parson)
on Mar 02, 2008 at 16:39 UTC ( [id://671507]=note: print w/replies, xml ) Need Help??


in reply to Pipe processes and Perl subroutines together

Have you looked at IPC::Run?


We're not surrounded, we're in a target-rich environment!
  • Comment on Re: Wrapper function to execute process

Replies are listed 'Best First'.
Re^2: Wrapper function to execute process
by repellent (Priest) on Mar 03, 2008 at 00:11 UTC
    Thanks for the reference. Yes, I have read through its documentation before. It is very powerful. No, I have not played with it.

    In my opinion, however, there's something about its syntax and setup that leaves me wanting. I get confused wrapping my mind around (\$in, \$out) and the various ways of specifying handle references for the commands.

    It's probably due to my inexperience. Let me look into IPC::Run some more.
Re^2: Wrapper function to execute process
by PetaMem (Priest) on Apr 08, 2008 at 08:12 UTC
    And while we're at it, have a look at IPC::Cmd. It seems more actively maintained and equipped with a more intuitive (for some) API.

    Bye
     PetaMem
        All Perl:   MT, NLP, NLU

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found