Skip to main content

1E 9.x (on-premises)

OperatingSystem.KillProcess

Module

OperatingSystem

Method

KillProcess

Library

Core

Action

Action to terminate a single running process.

Parameters

ProcessId (string): The (numeric) process ID of the executable to kill.

Return values

Killed (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

Notes