Ignore:
Timestamp:
Dec 27, 2011 12:41:24 PM (12 years ago)
Author:
gah
Message:

sync with trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/gui/scripts/tool.tcl

    r2646 r2742  
    206206
    207207            if { $status != 0 } {
    208                 foreach {pstatus pid mesg} $::Rappture::Tool::job(control) break
    209                 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"
    211211                    return [list $status $result]
    212212                }
    213213            }
    214         }
     214        }
    215215        # ...job is finished
    216216        array set times [Rappture::rusage measure]
     217
    217218        if {[resources -jobprotocol] != "submit"} {
    218219            set id [$_xmlobj get tool.id]
Note: See TracChangeset for help on using the changeset viewer.