summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2002-12-04 22:04:38 (GMT)
committerdavygrvy <davygrvy@pobox.com>2002-12-04 22:04:38 (GMT)
commit7e2fb9e70cbf48d9ab770d3a64d35e3aa745bb21 (patch)
tree1bed9c021ccaa1ad098a93249d0e2aa2591546f4 /win/tclWinSerial.c
parent8e711fbc8f9fa92e577821c9c5243bbd4c1d6a8c (diff)
downloadtcl-7e2fb9e70cbf48d9ab770d3a64d35e3aa745bb21.zip
tcl-7e2fb9e70cbf48d9ab770d3a64d35e3aa745bb21.tar.gz
tcl-7e2fb9e70cbf48d9ab770d3a64d35e3aa745bb21.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 'win/tclWinSerial.c')
0 files changed, 0 insertions, 0 deletions