[OE-core] [PATCH] QemuRunner: avoid tainting os.environ
Patrick Ohly
patrick.ohly at intel.com
Wed May 3 13:08:10 UTC 2017
On Wed, 2017-05-03 at 13:53 +0100, Richard Purdie wrote:
> > Anyway, the variables weren't logged before either, so I'll just
> keep
> > that and change to passing an env dict.
>
> You could pass in the specific env delta you want to the function and
> leave launch to infill anything which isn't set?
That behavior would then differ from how subprocess works and make it
harder to remove variables from the os.environ. I don't find that
appealing.
Forget that I ever brought up logging of env variables, okay? ;-}
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
More information about the Openembedded-core
mailing list