GetPIDByName()

  GetPIDByName

Description

GetPIDByName() is used to retrieve the ID of the named process.

NOTE: On the UNIX systems, this API is not supported.

Call Signature

int GetPIDByName ( string task_name )

Return Value

int

The process id or -1 if it fails.

Argument

string task_name:

Name of the process.

See also

KillTask()

RunTask()

GetPID()

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