Changeset 4834 for trunk/gui/apps/launcher.tcl
- Timestamp:
- Dec 10, 2014, 10:37:54 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/apps/launcher.tcl
r4127 r4834 12 12 # rappture -builder ?-tool <toolfile>? 13 13 # rappture -tester ?-tool <toolfile>? ?-testdir <directory>? 14 # rappture -execute driver.xml ?-tool <toolfile>? 14 15 # 15 16 # The default option is "-run", which brings up the GUI used to … … 53 54 set reqpkgs Tk 54 55 } 56 -execute { 57 # for web services and simulation cache -- don't load Tk 58 set reqpkgs "" 59 if {[llength $argv] < 1} { 60 puts stderr "error: missing driver.xml file for -execute option" 61 exit 1 62 } 63 set driverxml [lindex $argv 0] 64 set argv [lrange $argv 1 end] 65 66 if {![file readable $driverxml]} { 67 puts stderr "error: driver file \"$driverxml\" not found" 68 exit 1 69 } 70 71 set dir [file dirname [info script]] 72 set mainscript [file join $dir execute.tcl] 73 } 55 74 -tool { 56 75 set toolxml [lindex $argv 0] … … 89 108 puts stderr " rappture -builder ?-tool toolFile?" 90 109 puts stderr " rappture -tester ?-auto? ?-tool toolFile? ?-testdir directory?" 110 puts stderr " rappture -execute driver.xml ?-tool toolFile?" 91 111 exit 1 92 112 }
Note: See TracChangeset
for help on using the changeset viewer.