Changeset 2742 for branches/blt4/gui/scripts/tool.tcl
- Timestamp:
- Dec 27, 2011 12:41:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/gui/scripts/tool.tcl
r2646 r2742 206 206 207 207 if { $status != 0 } { 208 foreach { pstatuspid mesg} $::Rappture::Tool::job(control) break209 if { $ pstatus!= "EXITED" } {210 set result "Abnormal program termination \"$ pstatus\": $mesg"208 foreach {code pid mesg} $::Rappture::Tool::job(control) break 209 if { $code != "EXITED" } { 210 set result "Abnormal program termination \"$code\": $mesg" 211 211 return [list $status $result] 212 212 } 213 213 } 214 214 } 215 215 # ...job is finished 216 216 array set times [Rappture::rusage measure] 217 217 218 if {[resources -jobprotocol] != "submit"} { 218 219 set id [$_xmlobj get tool.id]
Note: See TracChangeset
for help on using the changeset viewer.