in reply to Re: Passing an in memory scalar to an external command as an argument
in thread Passing an in memory scalar to an external command as an argument
I would suggest:
use IO::Pipe; my $pipe = IO::Pipe->new(); $pipe->writer(qw(ffmpeg -i pipe:0)); print $pipe $mp3;
to avoid the shell being used to launch ffmpeg.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Passing an in memory scalar to an external command as an argument
by Rodster001 (Pilgrim) on Apr 08, 2015 at 22:38 UTC | |
by RonW (Parson) on Apr 08, 2015 at 23:14 UTC |