Commit a8f35403 authored by colinfruit's avatar colinfruit

replace deprecated before_exec with pre_exec

parent cbb2b883
......@@ -151,7 +151,7 @@ fn telnet() {
.stdin(Stdio::from_raw_fd(slave_stdin.into_raw_fd()))
.stdout(Stdio::from_raw_fd(slave_stdout.into_raw_fd()))
.stderr(Stdio::from_raw_fd(slave_stderr.into_raw_fd()))
.before_exec(|| {
.pre_exec(|| {
before_exec()
})
.spawn()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment