summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFile.c
diff options
context:
space:
mode:
authordavygrvy@pobox.com <davygrvy>2002-12-04 22:04:38 (GMT)
committerdavygrvy@pobox.com <davygrvy>2002-12-04 22:04:38 (GMT)
commit2352670cba0bb35bdba8e1d493392c38184ab17e (patch)
tree1bed9c021ccaa1ad098a93249d0e2aa2591546f4 /unix/tclUnixFile.c
parentaf2a47f3847bd0305dca4e5bef224141608007a1 (diff)
downloadtcl-2352670cba0bb35bdba8e1d493392c38184ab17e.zip
tcl-2352670cba0bb35bdba8e1d493392c38184ab17e.tar.gz
tcl-2352670cba0bb35bdba8e1d493392c38184ab17e.tar.bz2
* win/tclWinPipe.c (Tcl_WaitPid): When a process exits with an
exception, pass this notice on to the caller with a SIG* code rather than truncating the exit code and missing the meaning. This allows TclCleanupChildren() to report "CHILDKILLED". This has a different behavior than unix in that closing the read pipe to a process sends the SIGPIPE signal which is returned as a SIGPIPE exit status. On windows, we send the process a CTRL_BREAK_EVENT and get back a CONTROL_C_EXIT which is documented to mean a SIGINT which seems wrong as a system, but is the correct exit status.
Diffstat (limited to 'unix/tclUnixFile.c')
0 files changed, 0 insertions, 0 deletions