rusht 1.1.0

Shell commands written in Rust
Documentation
1
2
3
4
5
6
7
8
use crate::common::{StdWriter, StdinReader};
use crate::observe::piped::piped;
use crate::observe::piped_args::PipedArgs;
use crate::ExitStatus;

pub async fn handle_piped(args: PipedArgs) -> ExitStatus {
    piped(args, &mut StdinReader::new(), &mut StdWriter::stdout()).await
}