exec-target
the simple invoke command for test
This invokes external a command and manipulates standard in out.
You can use std::process::Command
more easily.
Features
- minimum support rustc 1.56.1 (59eed8a2a 2021-11-01)
Example
use exec_target_with_env_in;
let command = "target/debug/exe-stab-grep";
let args = &;
let envs = vec!;
let inp = b"abcdefg\n" as &;
let oup = exec_target_with_env_in;
assert_eq!;
assert_eq!;
assert_eq!;
Changelogs
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.