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


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

Reddit cross post: