From 396610543aca5092e6ac366ad50f2e86fcaf3052 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 6 Jul 2009 23:49:57 -0500 Subject: actually, the parent should never be automatically set raw this is an irreversible change (from the point of view of this module), and since spawn is meant to be able to be called multiple times, that could cause issues. also, i don't think that setting the parent to be raw has any useful effects? maybe? --- lib/IO/Pty/Easy.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/IO/Pty/Easy.pm b/lib/IO/Pty/Easy.pm index ff0e884..0061588 100644 --- a/lib/IO/Pty/Easy.pm +++ b/lib/IO/Pty/Easy.pm @@ -162,7 +162,6 @@ sub spawn { close $writep; $self->close_slave; - $self->set_raw if ${*{$self}}{io_pty_easy_raw}; # this sysread will block until either we get an EOF from the other end of # the pipe being closed due to the exec, or until the child process sends # us the errno of the exec call after it fails -- cgit v1.2.3