search for: apppid

Displaying 1 result from an estimated 1 matches for "apppid".

Did you mean: appid
2009 Jun 10
1
[Bug 396] sshd orphans processes when no pty allocated
.... This is just a "EOF to SIGHUP" converter implemented in 4 lines of shell script (it simply inserts a "cat" between sshd and the no longer orphan process). TUBE=/tmp/myfifo.$$; mkfifo "$TUBE" <"$TUBE" yourApplicationIgnoringEOFMoreOftenThanNot & appPID=$! # unlike the above, cat WILL notice the EOF and politely die cat >"$TUBE" kill -HUP -$appPID; rm "$TUBE" Feedback is welcome; do not hesitate to email me. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail beca...