Apparently this list doesn't set the Reply-To header, apologies.

---------- Forwarded message ----------
From: Andres P <aep...@gmail.com>
Date: Wed, Jun 23, 2010 at 12:10 AM
Subject: Re: How not to inherit any environment variable from parent process?
To: Peng Yu <pengyu...@gmail.com>


On Wed, Jun 23, 2010 at 12:02 AM, Peng Yu <pengyu...@gmail.com> wrote:
> I use bash --noprofile to start a bash session. Since this doesn't
> source any profile files, I'd think that no environment variable
> should be set. But I still see environment variables set. Are they
> inherit from the parent session. Is there a way to start a bash
> session without using parent environment variables?
>

env -i bash --noprofile

Or more interestingly, env -i bash --rcfile /dev/null

Reply via email to