Brian Granger wrote:
> Hi,
>
> In the process of working through the issues with sys.path on Leopard,
> I have found another potential Leopard bug that is particularly nasty.
>
> In Tiger, sudo preserves environment variables:
>
> $ export FOO=/tmp
> $ python -c "import os; print os.environ['FOO']"
Hi,
In the process of working through the issues with sys.path on Leopard,
I have found another potential Leopard bug that is particularly nasty.
In Tiger, sudo preserves environment variables:
$ export FOO=/tmp
$ python -c "import os; print os.environ['FOO']"
/tmp
$ sudo python -c "import os; p