Skip to content

gcr/lua-spawn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A lua library to spawn programs

Rationale

Spawning a new child program from a lua script is suprisingly hard.

Existing solutions:

  • os.execute doesn't allow interaction with any file descriptors
  • io.popen only allows interaction with one of stdin or stdout
  • fork + exec isn't portable to non-MMU or non-unix architectures

This project uses the posix_spawn family of functions.

About

A lua library to spawn programs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.6%
  • Lua 3.4%