I have a tcl script to be packaged by tclapp. That tcl script may return several different codes by different running context, while the wrapped exe one by tclapp will always return 0. So is there a way to configure tclapp to compile my script and give the return code back instead of "always" 0?
Sorry, I recoded my tcl. Found return(return code of the procedure) is used. Obviously, exit(return code of app) should be utilized.