Changeset 2647 for trunk


Ignore:
Timestamp:
Oct 23, 2011, 8:34:51 AM (13 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/tool.tcl

    r2164 r2647  
    204204                -output ::Rappture::Tool::job(output) \
    205205                -error ::Rappture::Tool::job(error) $cmd} result]
    206         }
     206            if { $status != 0 } {
     207                foreach {code pid mesg} $::Rappture::Tool::job(control) break
     208                if { $code != "EXITED" } {
     209                    set result "Abnormal program termination \"$code\": $mesg"
     210                    return [list $status $result]
     211                }
     212            }
     213        }
    207214        # ...job is finished
    208215        array set times [Rappture::rusage measure]
Note: See TracChangeset for help on using the changeset viewer.