os/spawn
cfunction
src/core/os.c on line 1117, column 1
(os/spawn args &opt flags env)
Execute a program on the system and return a handle to the process.
Otherwise, takes the same arguments as `os/execute`. Does not wait
for the process. For each of the :in, :out, and :err keys to the
`env` argument, one can also pass in the keyword `:pipe` to get
streams for standard IO of the subprocess that can be read from and
written to. The returned value `proc` has the fields :in, :out,
:err, :return-code, and the additional field :pid on unix-like
platforms. Use `(os/proc-wait proc)` to rejoin the subprocess or
`(os/proc-kill proc)`.