klyn.process.ProcessHandle.requestExit
method
public requestExit() as Void
Description

Requests exit through the OS mechanism (SIGTERM on Linux). Windows has no universal process-handle cooperative exit service.

Throws
  • NotSupportedException when no cooperative exit mechanism exists.
Example

task.requestExit()