System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 7/08/2024
Public
Document Table of Contents

1.1.63. executor_is_done

Description

Query if the process completed. Completion may be due to normal termination, cancellation or failure to start, in all of these cases, this will return true

Usage

executor_is_done <service-path> <int>

ReturnType

boolean

Returns

True if the process completed, false otherwise

Arguments

service-path
int

Example

if {[executor_is_done $executor_path $handle]} { # do something }