9.15.10.12 Example

save_log

The following example runs the selected actionS on the programmers 'FP30085' and 'FP30086'.

run_selected_actions –name {FP300085} –name {FP300086}

Example using return code:

if {[catch {run_selected_actions} return_val]} {puts "Error running Action"} else {puts "exit code $return_val"}

Example returning exit code to the command line (returns exit 99 on script failure, otherwise returns exit code from selected action):

if {[catch {run_selected_actions} return_val]}{exit 99} else {exit $return_val}

Saves the log file.

save_log -file {file}