Nimony

The road to Nim 3

osproc

nimony/lib/std/osproc.nim

The std/osproc module implements an advanced facility for executing OS processes and process communication.

This is the Nimony port. Compared to the upstream Nim module the POSIX path uses posix_spawn on illumos and fork + execve elsewhere. On illumos, launch errors are reported synchronously as OSError rather than as a child exiting with status 127. The timeout path of waitForExit uses a busy-wait with nanosleep.

See also: