Announcing `conch-runtime`, a framework for executing shell programs


#1

conch-runtime provides a framework for executing shell programs that can be used as the foundation for building a shell. It tries to remain agnostic to any particular Abstract Syntax Tree representations of the shell commands, as well as abstracting away OS details where possible (e.g. not assuming fork/exec is available).

Notable features:

  • Windows support for all major features
  • Executions/evaluations are futures based
  • Provided implementations utilize tokio, but can be easily swapped out for another event loop implementation
  • Modularized implementations: you can reuse command/evaluation implementations independently but provide custom behavior extensions or alternatives where needed

Code: https://github.com/ipetkov/conch-runtime
Docs: https://docs.rs/conch-runtime
Reddit cross post: https://www.reddit.com/r/rust/comments/6w3f7p/announcing_conchruntime_a_framework_for_executing/