in reply to start bash command from perl script: alternatives to system or backticks?

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

  • Comment on Re: start bash command from perl script: alternatives to system or backticks?
  • Download Code