python 2.1.2, Linux and 'os' library: bug or (bad) feature?

Pawel Oleksik oleksik at awa.mat.agh.edu.pl
Mon Mar 18 11:30:48 EST 2002


Hi Snakes Tamers!


Is this a bug there in P2.1.2 librariers?

When I call:

    os.execv('/usr/X11R6/bin/X',('X',':'+`display`,))

I do expect in the /proc/<PID>/cmdline a string like:

    'X\x00:'+`display`+'\x00'

and in P2.0/P2.1.1 is that.

What I got with P2.1.2 was: '.X\x00:'+`display`+'\x00'
                            ^^^

Is that a punishment for ours bad behaviour, or what?
Has anybody met this problem? Could you carry out tests with P2.2?


best regards
p.o.




More information about the Python-list mailing list