A lua library to spawn programs
Spawning a new child program from a lua script is suprisingly hard.
Existing solutions:
os.execute
doesn't allow interaction with any file descriptorsio.popen
only allows interaction with one ofstdin
orstdout
fork
+exec
isn't portable to non-MMU or non-unix architectures
This project uses the posix_spawn
family of functions.