Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: start bash command from perl script: alternatives to system or backticks?

by jettero (Monsignor)
on Apr 28, 2010 at 13:54 UTC ( #837307=note: print w/replies, xml ) Need Help??


in reply to start bash command from perl script: alternatives to system or backticks?

A while back, I helped a co-worker (who is not a programmer) design and build this application that allows him to use his specialized video capture device reliably with Mythbuntu. It has plenty of example calls that do this kind of thing. The sources contain several examples of interacting with long running processes like ffmpeg.

Most of the real work is done by IPC::System::Simple which handles the gorey details associated with this kind of programming; although, we used a healthy dose of IPC::Open3 as well.

-Paul

  • Comment on Re: start bash command from perl script: alternatives to system or backticks?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://837307]
help
Chatterbox?
[Corion]: Hey, it's Friday ;))
[Discipulus]: yes! even here.. but we'll slepp an hour less this weekend..

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-03-24 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (298 votes). Check out past polls.