KillTask()

  KillTask

Description

KillTask() is used to kill a task specified by a process id, such as is returned by the RunTask() intrinsic, or by the GetID() intrinsic.

Call Signature

int KillTask ( int pid )

Return Value

int

Returns -1 if the kill failed, 0 if it may have been killed, and 1 if it was killed for sure

Argument

int pid:

The process id of the task to kill.

See also

RunTask()

GetPID()

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.