Created
April 3, 2018 18:20
-
-
Save durka/394376af7acdb5958aa5bbd56e94c0ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cargo script -D subprocess -e 'subprocess::Exec::cmd("rg").args(&["x", "not_exist.rs"]).stdout(subprocess::Redirection::Pipe).stderr(subprocess::Redirection::Merge).capture()?.stdout_str()' | |
"not_exist.rs: No such file or directory (os error 2)\nNo files were searched, which means ripgrep probably applied a filter you didn\'t expect. Try running again with --debug.\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment