klyn.process.ProcessHandle.setPriority
method
public setPriority(notnull priority as ProcessPriority) as Void
Description

Changes priority; requires SET_PRIORITY and any OS elevation needed.

Throws
  • NotSupportedException if instance-safe priority changes unavailable.
Example

task.setPriority(ProcessPriority.LOW)