shrs_output_capture 0.0.3

Capture the previous stdout and stderr output
Documentation

shrs_output_capture

shrs plugin to capture command output

crates.io MIT/Apache 2.0

This is a plugin for shrs.

Using this plugin

First add this plugin to your dependencies

shrs_output_capture = { version = "0.0.3" }

Then include this plugin when initializing shrs

use shrs::prelude::*;
use shrs_output_capture::OutputCapturePlugin;

let myshell = ShellBuilder::default()
    .with_plugin(OutputCapturePlugin)
    .build()
    .unwrap();