Perhaps something using open, such as
open(my $ffmpeg, '-|', @command_and_args) or die "Blarg: $!"I have also seen a command line option on some long lived processing applications that tell it to put each update, or frequent updates, each on a new line on stdout for just this type of use case.
--MidLifeXis
In reply to Re: start bash command from perl script: alternatives to system or backticks?
by MidLifeXis
in thread start bash command from perl script: alternatives to system or backticks?
by rduke15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |