diff options
Diffstat (limited to 'src/builtins/command.rs')
-rw-r--r-- | src/builtins/command.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/builtins/command.rs b/src/builtins/command.rs index 2ea7f18..f3ec598 100644 --- a/src/builtins/command.rs +++ b/src/builtins/command.rs @@ -32,6 +32,8 @@ impl Command { self.io.set_stderr(fh); } + // Safety: see pre_exec in async_std::os::unix::process::CommandExt (this + // is just a wrapper) pub unsafe fn pre_exec<F>(&mut self, f: F) where F: 'static + FnMut() -> std::io::Result<()> + Send + Sync, |