mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-04 00:17:40 +08:00

This introduces a new module called fork_exec, which will be for posix_spawn, postfork, and flog_safe - stuff concerned with actually executing binaries, and error reporting. Add a FLOG_SAFE! macro which writes errors to the flog fd in an async-signal-safe way. This implementation differs from the C++ in that we allow printing integers directly - no requiring them to be converted to a buffer first.