On Wed, May 06, 2020 at 02:29:07PM +0200, Joerg Sonnenberger wrote: > I'm not sure. There is normally no way to force an empty environment > variable, so if you want to not use PATH, the behavior of the current > code is more useful. But you can then just use posix_spawn() instead. Martin