diff options
Diffstat (limited to 'src/pipeline/command.rs')
-rw-r--r-- | src/pipeline/command.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pipeline/command.rs b/src/pipeline/command.rs index 2c49cd3..dceb732 100644 --- a/src/pipeline/command.rs +++ b/src/pipeline/command.rs @@ -140,6 +140,7 @@ impl Command { // Safety: open, dup2, and close are async-signal-safe // functions unsafe { cmd.pre_exec(pre_exec) }; + cmd.apply_redirects(&redirects); Ok(Child::Builtin(cmd.spawn(env)?)) } } |