Crate ishell

Source
Expand description

Interactive shell for Rust

Provides an IShell interface to run commands through. These are the advantages:

  • Each command returns an std::process::Output type with stdout and stderr captured (while also being logged)
  • cd commands are remembered, despite each command running sequentially, each in a new true shell (i.e. sh)

Modules§

error
A module for handling shell initialization errors.

Structs§

IShell
A shell interface with memory
ShellOutput
Representation of the output of a command executed in an IShell.