handle errorCode=NONE (close pipe was with error but no error code)
This commit is contained in:
parent
b51af6422e
commit
ed9d6905de
|
|
@ -264,7 +264,9 @@ proc execute_fileevent {id} {
|
|||
# puts "catch_return=$catch_return"
|
||||
if {$catch_return} {
|
||||
# puts "errorCode=$errorCode"
|
||||
if {"CHILDSTATUS" == [lindex $errorCode 0]} {
|
||||
if {"NONE" == [lindex $errorCode 0]} {
|
||||
set exit_status 0
|
||||
} elseif {"CHILDSTATUS" == [lindex $errorCode 0]} {
|
||||
set exit_status [lindex $errorCode 2]
|
||||
# puts "exit_status=$exit_status"
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue