We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I love using xshell and the xtask approach, but what I am completely missing is support for piping commands together.
Please provide a functionality to pipe commands like cmd!("echo hi") | cmd!("grep i").run()? or cmd!("echo hi").pipe("grep i").run()?
cmd!("echo hi") | cmd!("grep i").run()?
cmd!("echo hi").pipe("grep i").run()?
Thanks
The text was updated successfully, but these errors were encountered:
Piping is out of scope for this project. https://crates.io/crates/duct might have what you're looking for.
Sorry, something went wrong.
One workaround if you don't want to use duct can be just calling bash. E.g.
duct
let bash = r#"echo "hi" | grep "hello""#; cmd!(sh, "bash -c {bash}").run()?;
That might get you by under some constrained conditions.
cmd
No branches or pull requests
Hi,
I love using xshell and the xtask approach, but what I am completely missing is support for piping commands together.
Please provide a functionality to pipe commands like
cmd!("echo hi") | cmd!("grep i").run()?
or
cmd!("echo hi").pipe("grep i").run()?
Thanks
The text was updated successfully, but these errors were encountered: