process: Fix tests on nightly

This commit is contained in:
Alex Crichton
2019-06-24 16:56:47 -07:00
committed by Ivan Petkov
parent 4416ea07d8
commit 5664660156
+3
View File
@@ -31,6 +31,9 @@ fn init() {
fn exit(handle: &Handle) -> Command {
let mut me = env::current_exe().unwrap();
me.pop();
if me.ends_with("deps") {
me.pop();
}
me.push("exit");
Command::new(me, handle)
}