diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-03-27 11:15:46 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-03-27 13:13:23 -0400 |
commit | 42972dfac6cd8faef6b1e2ddc6236d554daf433f (patch) | |
tree | 6a111d63dcafb7b19a150e46a3835d504dcaa474 /tests/bfs/nocolor.sh | |
parent | c01d1f48c950fc0c942988ad1fcdd8003ac93898 (diff) | |
download | bfs-42972dfac6cd8faef6b1e2ddc6236d554daf433f.tar.xz |
xspawn: Refactor $PATH resolution
Technically, we should be resolving executables *after* applying the
file actions. It's only safe to resolve earlier if $PATH contains no
relative entries, or if there are no fchdir() actions.
The new implementation resolves as early as possible, deferring to
posix_spawnp() if necessary for correctness.
Diffstat (limited to 'tests/bfs/nocolor.sh')
0 files changed, 0 insertions, 0 deletions