Skip to main content

Module shell

Module shell 

Source
Available on crate feature shell only.
Expand description

Shell execution helpers. Shell execution helpers.

run / get_out are the Rust APIs; shell_run / shell_output are the Rhai bindings gated behind the shell feature (plus rhai for the bindings).

Functionsยง

get_out
Run sh -c <command> capturing stdout/stderr. Returns the raw Output.
rhai_get_stdoutrhai
rhai_runrhai
run
Run sh -c <command> inheriting stdout/stderr. Returns the raw Output.
shell_rhai_registerrhai