Index: nxsh.in =================================================================== diff -u -r3ee0ac91f0a8034ec4739bc2af1016cdf30fbe57 -r0956bd063e7aaa155b4dccad0997b381ddd5ec15 --- nxsh.in (.../nxsh.in) (revision 3ee0ac91f0a8034ec4739bc2af1016cdf30fbe57) +++ nxsh.in (.../nxsh.in) (revision 0956bd063e7aaa155b4dccad0997b381ddd5ec15) @@ -14,8 +14,10 @@ # markup in the first line of a script. It is designed to work with # multiple installed Tcl shells during development. # -package require nx::shell +package require nx::shell 1.1 namespace import -force ::nx::* -nx::shell2 run $argc $argv +set exitCode [nx::shell2 run $argc $argv] +exit $exitCode +