You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for input/output/error redirection can be added.
For example, if I want to execute cargo run -- < FILE or cargo run -- < DIRECTORY.
We can have a redirect_input method as follows:
cmd.redirect_stdin(&path);
Similarly for flushing the stdout and stderr to a file. We can have redirect_stdout and redirect_stderr.
I'm not sure if it's possible but I think it would be quite useful.
The text was updated successfully, but these errors were encountered:
Support for input/output/error redirection can be added.
For example, if I want to execute
cargo run -- < FILE
orcargo run -- < DIRECTORY
.We can have a
redirect_input
method as follows:Similarly for flushing the
stdout
andstderr
to a file. We can haveredirect_stdout
andredirect_stderr
.I'm not sure if it's possible but I think it would be quite useful.
The text was updated successfully, but these errors were encountered: