Ignore:
Timestamp:
Mar 10, 2011 7:18:44 AM (13 years ago)
Author:
gah
Message:

Added vtkcontourviewer debug tool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/apps/launcher.tcl

    r2097 r2126  
    8787}
    8888
    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.
     97set argv $alist
     98package require Tk
     99source  $mainscript
Note: See TracChangeset for help on using the changeset viewer.