Final output on slave pty is lost if it was not closed in parent. Why?
I think there is unique separate behaviour for the Pty. The system terminates if the last data is written The system terminates if the child exits (broken pipe?) The code relies on the pipe existing long enough to send the data through, but the child exiting may cause the virtual channel to be deleted before … Read more