Click or drag to resize

OSKill Method

Kill (terminate) the process identified by the given process ID (pid), e.g. the one returned by Execute(String, String, Boolean, Array, Boolean) in non-blocking mode.

Note: This method can also be used to kill processes that were not spawned by the game.

Note: This method is implemented on Android, iOS, Linux, macOS and Windows.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static Error Kill(
	int pid
)

Parameters

pid
Type: SystemInt32

[Missing <param name="pid"/> documentation for "M:Godot.OS.Kill(System.Int32)"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.OS.Kill(System.Int32)"]

See Also