use Carp;
use Symbol qw(gensym qualify);
-$VERSION = 1.0105;
+$VERSION = 1.0106;
@ISA = qw(Exporter);
@EXPORT = qw(open3);
$kidpid = $do_spawn ? -1 : xfork;
if ($kidpid == 0) { # Kid
+ # A tie in the parent should not be allowed to cause problems.
+ untie *STDIN;
+ untie *STDOUT;
# If she wants to dup the kid's stderr onto her stdout I need to
# save a copy of her stdout before I put something else there.
if ($dad_rdr ne $dad_err && $dup_err