in reply to Re: Re: Re: Re: Re: Redirect file write from external program to STDOUT
in thread Redirect file write from external program to STDOUT
and this script`echo $script | $program`;
the same? In any case, the jpeg produced was always something of a dozen bytes size or so, certainly not jpeg.open IN, "echo $script | $program |"; binmode IN; my $img = do{ local $/; <IN> }; close IN; binmode STDOUT; print $img;
|
|---|