tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: posix_spawnp() and PATH - change code or manual ?



On Wed, May 06, 2020 at 02:31:32PM +0200, Martin Husemann wrote:
> 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.

The environment is under the control of the user, the code isn't.

Joerg


Home | Main Index | Thread Index | Old Index