client_context.go
3.71 KB
-
Send SIGHUP to process after closing PTY · c71cc217
POSIX doesn't grantee that a blocked Read() operation will be released after closing the file. Moreover, the pty file left intact even after closing the file and the process keeps running in this case.
Iwasaki Yudai committed