aboutsummaryrefslogtreecommitdiffstats
path: root/src/run/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/run/mod.rs')
-rw-r--r--src/run/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/run/mod.rs b/src/run/mod.rs
index 9e4ace8..6484e30 100644
--- a/src/run/mod.rs
+++ b/src/run/mod.rs
@@ -89,9 +89,7 @@ pub fn run(se: &mut Session, cmd: Vec<u8>) {
};
let handle = std::thread::spawn(move || {
- let cmd = cmd;
- let c = &cmd.args;
- builtin.io(c, &mut input, &mut output)
+ builtin.io(&cmd.args, &mut input, &mut output)
});
threads.push(handle);