Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by jettero (Monsignor)
on Apr 28, 2010 at 13:54 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://837307]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-26 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found