Page tree
Skip to end of metadata
Go to start of metadata

Description

Returns owner of process

 

Syntax

Sys_GetProcessOwner(sProcess, bMustExist) As Boolean

 

Parameters

sProcess (String)

Name of process

bMustExist (Boolean)

Process must exist


Return value

Result will be stored in gsValue

 

Example

VBScript
If bStatus Then bStatus = Sys_GetProcessOwner("CapaInstaller.exe", True)
If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)

Scripting Guidelines

 

Related functions

Sys_WaitForProcess Sys_Sleep Sys_KillProcess Sys_ExistProcess Sys_CompareProcessOwner

  • No labels