Author larry
Recipients benjamin.peterson, georg.brandl, larry, ned.deily, paul.moore, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2017-07-11.10:18:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499768290.48.0.48071005959.issue30730@psf.upfronthosting.co.za>
In-reply-to
Content
It seems that os.execve() still permits this, even on Windows.  Shouldn't we solve it there too?  (Thanks to Steve Dower for realizing this.)

--

import os

cmdline=["/usr/bin/printenv"]
env={'a=b': 'c'}
os.execve(cmdline[0], cmdline, env)
# this prints a=b=c
History
Date User Action Args
2017-07-11 10:18:10larrysetrecipients: + larry, georg.brandl, paul.moore, tim.golden, benjamin.peterson, ned.deily, zach.ware, serhiy.storchaka, steve.dower
2017-07-11 10:18:10larrysetmessageid: <1499768290.48.0.48071005959.issue30730@psf.upfronthosting.co.za>
2017-07-11 10:18:10larrylinkissue30730 messages
2017-07-11 10:18:10larrycreate