mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-27 00:00:12 +02:00
process: Fix tests on nightly
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user