Re: emptyenv and default path

From: Brett Neumeier <bneumeier_at_gmail.com>
Date: Sat, 6 Feb 2016 13:35:45 -0600

On Sat, Feb 6, 2016 at 1:31 PM, Colin Booth <cathexis_at_gmail.com> wrote:

> Due to the mechanism of exec, emptyenv doesn't modify it's
> environment, it modifies the environment that the next command
> receives. Because of this, emptyenv has a $PATH that it attempts to
> find foreground on. Foreground however does not receive a path and so
> falls back to using the default.
>

Got it. That was the conjecture I had come up with, I am very pleased to
have it confirmed. Thank you!

Regards,

Brett

-- 
Brett Neumeier (bneumeier_at_gmail.com)
Received on Sat Feb 06 2016 - 19:35:45 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC