Thanks for the reply Wolfgang!
I guess the verbiage is a little misleading then. Insert implies to add to
whats existing. Perhaps QT needs to add a replace method as well. :)
Easy enough to work around though.
Cheers,
-Scott
On Fri, Dec 10, 2010 at 1:12 AM, Wolfgang Rohdewald
wrote:
> On Fre
On Freitag 10 Dezember 2010, Scott Ballard wrote:
> The insert method of QProcessEnvironment overwrites the
> environment variable instead of inserting into it.
according to the manual, this is correct.
Inserts the environment variable of name name and contents value
into this QProcessEnvironmen
I ran across the following bug tonight:
The insert method of QProcessEnvironment overwrites the environment variable
instead of inserting into it.
=== Example ===
from PyQt4 import QtCore
env = QtCore.QProcessEnvironment.systemEnvironment()
print env.value('PATH')
>>C:\WINDOWS\system32;C:\WINDOW