Terminate Process
Command description
Terminate a running program by process ID or process name.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Termination Method | enum | Optional values: Process ID, Process Name |
| Process ID | int or str | ID of the process to terminate; required when Termination Method is Process ID |
| Process Name | str | Name of the process to terminate, such as notepad.exe; required when Termination Method is Process Name |
Command Output Parameters
None.
Generation Notes
- Terminate processes by ID or name. A process name may match multiple running processes.