mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-26 10:11:05 +01:00
Use the parent os.environ value as default in pre-forked processes #1791
This commit is contained in:
parent
8be4adcc64
commit
3e08a19a56
@ -821,6 +821,8 @@ def run_prefork_process(cmd, kwargs, cargs):
|
||||
"""
|
||||
Delegates process execution to a pre-forked process instance.
|
||||
"""
|
||||
if not 'env' in kwargs:
|
||||
kwargs['env'] = os.environ
|
||||
try:
|
||||
obj = base64.b64encode(cPickle.dumps([cmd, kwargs, cargs]))
|
||||
except TypeError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user