public static start(notnull commandLine as IList<String>, cwd as String = "") as ProcessHandle
Starts a process without a shell and returns after confirmed OS launch. The returned handle owns a reference, not the child's lifetime. Closing it never kills the child. Standard streams are inherited, without capture.
| Parameter | Description |
|---|---|
commandLine | Executable followed by separate arguments. |
cwd | Empty inherits the working directory. KlynOS uses canonical absolute ELF paths and an absolute explicit cwd; start an interpreter explicitly for source scripts. |
try task = Process.start(["my-editor", "document.txt"]): print(task.identity.pid)