Crates.io | shrs_output_capture |
lib.rs | shrs_output_capture |
version | 0.0.6 |
source | src |
created_at | 2023-06-04 15:21:58.421258 |
updated_at | 2024-06-01 04:58:05.267762 |
description | Capture the previous stdout and stderr output |
homepage | https://mrpicklepinosaur.github.io/shrs/ |
repository | https://github.com/MrPicklePinosaur/shrs |
max_upload_size | |
id | 882308 |
size | 4,039 |
This is a plugin for shrs.
First add this plugin to your dependencies
shrs_output_capture = { version = "0.0.6" }
Then include this plugin when initializing shrs
use shrs::prelude::*;
use shrs_output_capture::OutputCapturePlugin;
let myshell = ShellBuilder::default()
.with_plugin(OutputCapturePlugin)
.build()
.unwrap();