Re: Hello gnome-terminal



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
> ========================================================================

.



Relevant Pages

  • Re: Replacing Explorer shell with custom application...
    ... I don't quite see the point of creating a new shell to do what you describe. ... The managed code run-time assumes that everything that it might ... we need to get our launcher program to run on startup of the system. ... some API functions ??? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: again "customer shell" problem
    ... that my launcher application does start as customer ... But it then can not start my real application using createprocess(). ... When I tell the launcher application to start notepad.exe, ... Can this be a problem when starting a programm as customer shell? ...
    (microsoft.public.windowsxp.embedded)
  • Re: CustomShell Not Launching
    ... > I also tried to get myapp.exe running as customer shell, ... > Do you guys use console applications as launcher app or standard windows ...
    (microsoft.public.windowsxp.embedded)