Re: Hello gnome-terminal
- From: "gnukid" <gnukid@xxxxxxxxx>
- Date: 30 Sep 2005 03:19:28 -0700
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
> ========================================================================
.
- Prev by Date: Re: Soap Question (WSDL)
- Next by Date: Re: Font management under win32
- Previous by thread: return (PyObject*)myPyType; ...segmentation fault!
- Next by thread: Re: Python-list Digest, Vol 24, Issue 451
- Index(es):
Relevant Pages
|