Changeset 2126 for trunk/gui/apps/launcher.tcl
- Timestamp:
- Mar 10, 2011 7:18:44 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/apps/launcher.tcl
r2097 r2126 87 87 } 88 88 89 # invoke the main program with the args 90 puts stderr alist=$alist 91 eval exec wish [list $mainscript] $alist 89 # Invoke the main program with the args 90 91 # Note: We're sourcing the driver file "main.tcl" rather than exec-ing 92 # wish because we want to see stderr and stdout messages when they 93 # written, rather than when the program completes. It also eliminates 94 # one process waiting for the other to complete. If "exec" is needed, 95 # then the following could be replaced with blt::bgexec. It doesn't 96 # try to redirect stderr into a file. 97 set argv $alist 98 package require Tk 99 source $mainscript
Note: See TracChangeset
for help on using the changeset viewer.