Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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_output.wav';
  2. or download this
    run \@cmd, timeout(10);
  3. or download this
    @cmd = ('/usr/bin/ffmpeg', '-y', '-i', '','long_output.w
    @cmd = ('/usr/bin/ffmpeg -y -i long_output.wav');
    @cmd = various other incarnations.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1066939]
Approved by toolic
Front-paged by toolic
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2016-10-27 16:14 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (366 votes). Check out past polls.