Module xshell

Source
Expand description

A Swiss-army knife for writing shell-style scripts in Rust.

See crate ::xshell.

Macros§

cmd
Constructs a Cmd from the given string.

Structs§

Cmd
A builder object for constructing a subprocess.
Error
An error returned by an xshell operation.
PushDir
RAII guard returned from Shell::push_dir.
PushEnv
RAII guard returned from Shell::push_env.
Shell
A Shell is the main API entry point.
TempDir
A temporary directory.

Type Aliases§

Result
Result from std, with the error type defaulting to xshell’s Error.