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
In some cases, it's needed to set the stdout. Currently is possible to do this by setting it "manually":
cmd := icmd.Command(bin, args...) cmd.Stdout = w
where w is some io.Writer. So I think that it would be helpful to have a corresponding WithStdout(w io.Writer) CmdOp function.
w
io.Writer
WithStdout(w io.Writer) CmdOp
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
In some cases, it's needed to set the stdout. Currently is possible to do this by setting it "manually":
where
w
is someio.Writer
. So I think that it would be helpful to have a correspondingWithStdout(w io.Writer) CmdOp
function.The text was updated successfully, but these errors were encountered: