process¶
Purpose: subprocess launching, output capture, waiting, and a few desktop picker helpers.
Typical import:
Running commands¶
fn run_cmd(exe: str, argv: []u64) -> i32;
fn shell_exec(cmd: str) -> i32;
fn shell_output(cmd: str, max_len: i32) -> str;
Capturing output¶
fn capture_output(exe: str, argv: []u64, max_len: i32) -> str;
fn capture_output_full(exe: str, argv: []u64, max_len: i32) -> str;