Skip to content

HasProcess

Resolves an installed process and, optionally, one of its tasks.

$Domain.HasProcess(name: string, task?: string):string

Parameters

string name
    The name of the process.

string task optional
    Optional task name used to verify that the process can start that task.

Returns

The installed process ID, or an empty string when the process is not available.