Stop Process
This Automation Manager object stops a running program on the local computer.
Input Parameters
These parameters are to be used independently, one or the other, but not both at the same time.
Name | Type | Required | Description |
---|---|---|---|
Process Name | String | No | The name of the process to be stopped. |
PID | String | No | The process ID of the process to be stopped. |
Output Parameters
Name | Type | Description |
---|---|---|
Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
Name | Type | Required | Example |
---|---|---|---|
Process Name |
String |
No |
Taskmgr
Process extensions (.exe) are not required or permitted. |
PID |
String |
No |
2396 |
Force |
Boolean |
No |
Optionally, you can force the process to end. |