i actually managed to figure this out, if you close the master_fd in the child, the slave wont ack the TIOCSCTTY and never be the controlling terminal.
so above is true just #POSIX::close($master_fd);
In reply to Re: pty redir
by jaco
in thread pty redir
by jaco