-
Notifications
You must be signed in to change notification settings - Fork 21
Piping (stdin) to the process #26
Comments
This would be a big help to me. Another thing could be setting environment variables. Like many people I have my own hacky wrapper around https://github.com/sevagh/pq/blob/master/tests/runner/mod.rs#L36 |
Would you be willing to get your
Freyskeyd is looking at handling environment variables in #27. Feel free to jump on over there to see how well our current plan will handle your needs and provide feedback. |
I'm running into some difficulty. It's as if
My changes: I have yet to write |
Oye, that is frustratingly unclear from the documentation.
You have to pay close attention in the docs
I didn't notice until I went digging in the source code for So you need let command = command
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.stderr(Stdio::piped()); |
Thanks for the help. Here's the PR: #44 |
Something like
AssertCli::command("cat").given_input(reader).prints(reader_as_string)
cf. #21
The text was updated successfully, but these errors were encountered: