This commit is contained in:
Fabian Boehm
2025-01-16 19:55:59 +01:00
parent 6e6495664c
commit 1516c08e89

View File

@@ -1150,8 +1150,11 @@ fn get_performer_for_builtin(p: &Process, j: &Job, io_chain: &IoChain) -> Box<Pr
.unwrap_or(false);
// Execute the builtin.
let mut shim_argv: Vec<&wstr> =
p.argv().iter().map(|s| truncate_at_nul(s.as_ref())).collect();
let mut shim_argv: Vec<&wstr> = p
.argv()
.iter()
.map(|s| truncate_at_nul(s.as_ref()))
.collect();
builtin_run(parser, &mut shim_argv, &mut streams)
},
)