Send SIGHUP to process after closing PTY
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.
Showing
with
6 additions
and
5 deletions
-
Please register or sign in to post a comment