Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 scrutinizing the Monastery: (6)
As of 2014-12-21 04:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (102 votes), past polls