If wait() reports that the child process quit with an error, MinTTY keeps
its window open so that any error output can be read. This is useful e.g.
for failed ssh connection attempts.
The process status handling is incomplete though: signals are not
considered, i.e. in that case the process status is interpreted incorrectly.
The window should be kept open if the child process quit either with a
non-zero exit code or with a runtime-error signal such as SIGSEGV, and only
if the user has not told MinTTY to close.
Original issue reported on code.google.com by andy.koppe on 10 Jan 2009 at 1:46
Original issue reported on code.google.com by
andy.koppe
on 10 Jan 2009 at 1:46