System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 6/20/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

1.1.59. executor_get_exit_value

Description

Return the exit value of the process. Prerequisite: Must call executor_is_done or executor_wait_for and wait until completion before retrieving exit value, except if the process was cancelled.

Usage

executor_get_exit_value <service-path> <int>

ReturnType

int

Returns

Exit value of the process, -1 if process has been cancelled. By convention, value 0 indicates normal termination.

Arguments

service-path
int

Example

executor_get_exit_value $executor_path $handle