Contents

Method

KillProcess

ModuleOperatingSystem
LibraryCore
Action

Action to terminate a single running process.

ParametersProcessId (string): The (numeric) process ID of the executable to kill.
Return valuesKilled (boolean): Whether the process was successfully killed (true) or not (false). If a process with PID ProcessId did not exist, false is returned.
Example
 OperatingSystem.KillProcess(ProcessId:"996");
Platforms
  • Windows
  • Linux
  • MacOS
  • Solaris Intel
  • Solaris Sparc
  • Android
Notes