Dear David,
On Sep 8, 2:09 pm, "David Joyner" <[EMAIL PROTECTED]> wrote:
> I haven't tried this but I would imagine you could run a bash script
> which sets the environment variables like this:
> ...
It did not work. I wrote a shell script SetMyPath that changes the
PATH, and i tested that from the shell
. SetMyPath
and
source SetMyPath
both work (simply doing ./SetMyPath would not change PATH because it
would live in a different subshell)
But when i am in Sage, neither
sage: !. SetMyPath
nor
sage: !source SetMyPath
nor
sage: !./SetMyPath
work. Still, os.environ['PATH'] has the same content as before.
Yours
Simon
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---