in reply to Re: Re: Using FLY to print to STDOUT
in thread Using FLY to print to STDOUT
Does fly.exe stream the data back to you via STDOUT? If so you might want to loop over the STDOUT filehandle:open2 (*BOY, *FLY, "$flyprog -q") || die "open2 $flyprog - $!\n';
-- vek --while (<BOY>) { $output .= $_; } close (BOY);
|
|---|