Index: library/lib/nx-shell.tcl =================================================================== diff -u -r3ee0ac91f0a8034ec4739bc2af1016cdf30fbe57 -rda0791d69d82e31dcd2575925f832be2b50e38de --- library/lib/nx-shell.tcl (.../nx-shell.tcl) (revision 3ee0ac91f0a8034ec4739bc2af1016cdf30fbe57) +++ library/lib/nx-shell.tcl (.../nx-shell.tcl) (revision da0791d69d82e31dcd2575925f832be2b50e38de) @@ -27,7 +27,7 @@ :protected object method evalScript {-exit:switch script} { set script [list catch [string trim $script] [current]::result [current]::opts] set r [uplevel #0 $script] - if {$r} { + if {$r == 1} { puts stderr [dict get ${:opts} -errorinfo] if {$exit} { exit 1