Process
classin packageklyn.process
public class Process extends Object
└ Process

Executes external commands with captured output and optional live standard error.

Example

result = Process.execute(["klyn", "--version"])

Fields
Modifier and Type Member Description
public static readonly current
current as Process
Returns the current process.
Properties
Modifier and Type Member Description
public property PID
PID as UInt
Operating-system process identifier.
Inherited Properties
propertyInherited Properties from Object: type
Methods
Modifier and Type Member Description
public static execute
execute( commandLine as List<String>, inputString as String = null, timeout as ULong = 0ul, inheritError as Boolean = false ) as ProcessResults
Executes a command line.
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml