in reply to Getting less output using prove's --merge option
else { $err = $merge ? '' : IO::Handle->new; eval { $pid = open3( '<&STDIN', $out, $err, @command ); }; die "Could not execute (@command): $@" if $@; $sel = $merge ? undef : IO::Select->new( $out, $err ); }
What's going on there? Seems like $err is set to an empty string, which should create a new filehandle when calling open3. Then $sel is then set to undef, but I have no idea what that means.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Getting less output using prove's --merge option
by nysus (Parson) on Feb 28, 2025 at 15:28 UTC | |
Re^2: Getting less output using prove's --merge option
by nysus (Parson) on Feb 28, 2025 at 15:16 UTC |