uce/site/doc/pages/shell_spawn.txt
2026-06-16 12:21:31 +00:00

13 lines
304 B
Plaintext

# shell_spawn
Starts a bounded background shell job and returns a job id. `spec` fields: `cmd`, optional `stdin`, optional `env` map, optional `timeout_ms`.
Use `job_status()`, `job_await()`, `job_result()`, or `job_cancel()` with the returned id.
:see
>sys
:example
print("shell_spawn example\n");