diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-07-06 23:49:57 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-07-06 23:49:57 -0500 |
commit | 396610543aca5092e6ac366ad50f2e86fcaf3052 (patch) | |
tree | 5d8b8e796ff28ad453b7337985ff93b177f8604e | |
parent | 57b0a6266414cac2fc9d5ef999b933aedf16ab98 (diff) | |
download | io-pty-easy-396610543aca5092e6ac366ad50f2e86fcaf3052.tar.gz io-pty-easy-396610543aca5092e6ac366ad50f2e86fcaf3052.zip |
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?
-rw-r--r-- | lib/IO/Pty/Easy.pm | 1 |
1 files changed, 0 insertions, 1 deletions
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 |