Does anyone know if it is possible to call posix_spawn or posix_spawnp with a custom PATH? I could hack environ, but that isn't thread safe. Trying to see if I can't move away from fork -> posix_spawn but need to be able to set custom PATH for launching processes!

Sign in to participate in the conversation
Gamedev Mastodon

Mastodon server focused on game development and related topics.