Skip to content

About

Worked rigs against the bash-interop public API, and a program a bash fixture starts for itself.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

63 Commits

Folders and files

Repository files navigation

bash-interop-examples

Worked programs against the public API of bash-interop.

Each file under tests/examples/ is one complete program, commented as it goes: listening to a script, answering the questions it asks, streaming messages as they arrive, reusing a shipped tool's instrument, and profiling.

cargo test --test examples -- --nocapture <name>

tests/joined/ comes at the same API from bash's side. A fixture script starts a server for itself as a coprocess, joins the session it made, and keeps a merged view of two tools in an array it names. This is the arrangement a script uses when it instruments itself instead of being run under a tool.

cargo test --test merging

The crate is not published to crates.io. It exists so the examples can depend on bash-interop, bashcap and bashprof at once.

Licensed under the MIT licence.

About

Worked rigs against the bash-interop public API, and a program a bash fixture starts for itself.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages