diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-06-15 12:33:38 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-06-15 12:35:40 -0400 |
commit | 134aa5d1c0bc71ec6cbf8f18f803976d6b60b0cc (patch) | |
tree | ff45374e19339f720ff5058413134ab1e2970a8e /src/exec.h | |
parent | 38f3e3e7ba210bbc45c2077102c308ed8abae061 (diff) | |
download | bfs-134aa5d1c0bc71ec6cbf8f18f803976d6b60b0cc.tar.xz |
xspawn: Work around a NetBSD posix_spawn() bug
NetBSD's posix_spawn() surprisingly has the same bug as its
posix_spawnp(): the executable is resolved before the file actions.
Detect this case and work around it by falling back to fork()/exec() if
we need to.
Diffstat (limited to 'src/exec.h')
0 files changed, 0 insertions, 0 deletions