After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587894 - [patch] the environment passing with python does no longer work
[patch] the environment passing with python does no longer work
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.20.x
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-06 14:06 UTC by Michael Vogt
Modified: 2009-09-29 18:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix envv passing (1.24 KB, patch)
2009-07-06 14:07 UTC, Michael Vogt
none Details | Review

Description Michael Vogt 2009-07-06 14:06:26 UTC
The recent update to the way the environment is build in vte.override broke the environment support. Example:

#!/usr/bin/python

import gtk
import vte

win = gtk.Window()
t = vte.Terminal()
win.add(t)
win.show_all()
t.fork_command("/bin/bash", envv=["foo=bar"])
gtk.main()


Running "env|grep foo" in the shell does not show it. I will attach a 
patch that fixes this problem.
Comment 1 Michael Vogt 2009-07-06 14:07:18 UTC
Created attachment 137922 [details] [review]
fix envv passing
Comment 2 Michael Vogt 2009-09-29 09:52:33 UTC
Hello, is something missing in this report that I should add? For me the patch with the example works so I wonder what more I can do to help with this bug :)
Comment 3 Behdad Esfahbod 2009-09-29 18:55:07 UTC
Fixed, thanks.