public class Process extends Object
Executes external commands with captured output and optional live standard error.
result = Process.execute(["klyn", "--version"])
| Modifier and Type | Member | Description |
|---|---|---|
| public static readonly | currentcurrent as Process |
Returns the current process. |
| Modifier and Type | Member | Description |
|---|---|---|
| public property | PIDPID as UInt |
Operating-system process identifier. |
| Modifier and Type | Member | Description |
|---|---|---|
| public static | execute | Executes a command line. |
| public static | openopen(notnull identity as ProcessIdentity, notnull access as IList<ProcessAccess>) as ProcessHandle |
Opens a verified process instance with explicit minimal rights. |
| public static | startstart(notnull commandLine as IList<String>, cwd as String = "") as ProcessHandle |
Starts a process without a shell and returns after confirmed OS launch. |