Hello gnome-terminal
gnukid
gnukid at gmail.com
Fri Sep 30 06:19:28 EDT 2005
Hi
Launcher may spawn a new shell to execute your program. The new shell
wont have your PYTHONPATH environment variable.
Cheers,
Noorul
egbert wrote:
> When I start the following script in a gnome-terminal:
>
> #!/usr/bin/env python
> import os
> print "hello gnome-terminal"
> print os.environ["PYTHONPATH"]
>
> I see the expected results in the same gnome-terminal window.
>
> However starting this same script via a launcher in a panel,
> a new gnome-terminal window is opened for output only,
> and PYTHONPATH is an unknown entity.
> How can I open a terminal over whose environment and
> configuration I have more control ?
> --
> Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
> ========================================================================
More information about the Python-list
mailing list