Parky wrote: 
> 
> It seems to be that just enabling the 'sigtrap' pragma works, but take
> if you take the use sigtrap out it doesn't !
> > 
Code:
--------------------
  >   > #! /usr/bin/perl
  > my @APPS = ( 'ffmpeg', 'avconv' );
  > use sigtrap ;
  > for my $app (@APPS)
  > {
  >     exec { $app } $app, @ARGV ;
  > }
  > die "Can't find any apps to run!";
--------------------
> > 
> 

Goodness me ! It works. That's the best one.
I wonder how many different ffmpeg's/avconf's this simple little script
would solve.


------------------------------------------------------------------------
mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to