in reply to Re^3: 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

It is possible, but open2 is easier:

$pid = open2(\*CHLD_OUT, \*CHLD_IN, 'ffmpeg', '-i', 'pipe:0');
  • Comment on Re^4: Passing an in memory scalar to an external command as an argument
  • Download Code