process: Fix nightly tests

This commit is contained in:
Alex Crichton
2019-06-24 16:56:47 -07:00
committed by Ivan Petkov
parent 7f3f868b66
commit a0cc60153a
+3
View File
@@ -19,6 +19,9 @@ use tokio_process::{Command, Child};
fn cat(handle: &Handle) -> Command {
let mut path = env::current_exe().unwrap();
path.pop();
if path.ends_with("deps") {
path.pop();
}
path.push("cat");
let mut cmd = Command::new(path, handle);
cmd.stdin(Stdio::piped())