System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 9/26/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.55. executor_cancel

Description

Attempts to cancel process execution. This attempt will fail if the process has already completed, has already been cancelled, or could not be cancelled for some other reason. If successful, and this process not started when cancel is called, the process should never run.

Usage

executor_cancel <service-path> <int>

ReturnType

boolean

Returns

False if the process could not be cancelled, typically because it has already completed normally; true otherwise

Arguments

service-path
int

Example

set cancelled [executor_cancel $executor_path $handle]