Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Wrapper function to execute process

by jasonk (Parson)
on Mar 02, 2008 at 16:39 UTC ( #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.

        All Perl:   MT, NLP, NLU

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2023-06-09 08:04 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (35 votes). Check out past polls.