NetBSD Project Report: Add support for chdir(2) support in posix_spawn(3) reddit / BSD ---------------------------------------------------------------------- GreenSage13 · 2021-11-23 01:31 Totally off the record and I plead the 5th. But at a speed dating ring once I wrote on my pop up card: I intend to view(6) your port(9). It passed the censorship dude you paid the $20 to lol. XD ---------------------------------------------------------------------- Kernigh · 2021-11-24 05:20 What calls [posix\_spawn(3)](https://man.netbsd.org/posix_spawn.3)? I searched NetBSD's src tree and found that [install(1)](https://man.netbsd.org/install.1) \-a and -s call posix\_spawn() in [xinstall.c](https://nxr.netbsd.org/xref/src/usr.bin /xinstall/xinstall.c) to run commands. Shells like sh(1) seem to avoid posix\_spawn() and call fork() or vfork().