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

Using IPC::Run to kill stuck process

by filmotheklown (Initiate)
on Dec 13, 2013 at 01:15 UTC ( #1066939=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # here's a command that takes a big MOV file and rips the audio out to
    + WAV
    $my_cmd = '/usr/bin/ffmpeg -y -i long_input.mov long_output.wav';
    
  2. or download this
    run \@cmd, timeout(10);
    
  3. or download this
    @cmd = ('/usr/bin/ffmpeg', '-y', '-i', 'long_input.mov','long_output.w
    +av');
    @cmd = ('/usr/bin/ffmpeg -y -i long_input.mov long_output.wav');
    @cmd = various other incarnations.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1066939]
Approved by toolic
Front-paged by toolic
help
Chatterbox?
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: (12)
As of 2015-07-06 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (80 votes), past polls