$::errorCode contains the exit status of the last exec or open "|..."/close pair that occured in the application.
DGP: 2002 Jan 17 Sorry, but that's just false. All Tcl errors write to ::errorCode; not only the ones from [exec] and [open].
See tclvars(n), error(n), and return(n).
Anyone have good programming practices for using this?
[To what category does this page belong?]