RE: capturing output from running process crashes gtk2

Scalar filehandles would definitely be the way to go, but 
open3() with scalar filehandles is buggy... it doesn't set $error

Thanks for the info. I can still use $write, leaving \*ERROR, 
and then the warning is gone.

Or, as a workaround, initialize $error with an IO::Handle:

use IO::Handle;
my $error = IO::handle->new;
my $pid = open3($write, $read , $error, ...);

Cheers, Roderich

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]