summaryrefslogtreecommitdiffstats
path: root/src/runner/mod.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-01-09 23:26:02 -0500
committerJesse Luehrs <doy@tozt.net>2022-01-09 23:26:02 -0500
commitd67d7cda39f5c3a84ee030778d69cdf08634a33c (patch)
tree8f99f1e559201ee8bb70787b13d514c7ba15c13c /src/runner/mod.rs
parentcba518546d09e9a716c9230ace1bbadd1c14fc2d (diff)
downloadnbsh-d67d7cda39f5c3a84ee030778d69cdf08634a33c.tar.gz
nbsh-d67d7cda39f5c3a84ee030778d69cdf08634a33c.zip
fix builtins wrapping builtins
Diffstat (limited to 'src/runner/mod.rs')
-rw-r--r--src/runner/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runner/mod.rs b/src/runner/mod.rs
index 956afde..22121c2 100644
--- a/src/runner/mod.rs
+++ b/src/runner/mod.rs
@@ -243,7 +243,7 @@ fn spawn_children<'a>(
let pipeline = pipeline.eval(env);
let mut cmds: Vec<_> = pipeline
.into_exes()
- .map(|exe| Command::new_with_io(exe, io.clone()))
+ .map(|exe| Command::new(exe, io.clone()))
.collect();
for i in 0..(cmds.len() - 1) {
let (r, w) = pipe()?;