Make sure LD_LIBRARY_PATH and PYTHONPATH are exported

LD_LIBRARY_PATH is required for UCS2 CPython versions.
This commit is contained in:
ZyX 2015-01-17 00:41:28 +03:00
parent f0d0ad1bfd
commit 6f6c466bc3
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ def main():
'default.segment_data.s1.contents=S1 string here;' 'default.segment_data.s1.contents=S1 string here;'
'default.segment_data.s2.contents=S2 string here;' 'default.segment_data.s2.contents=S2 string here;'
), ),
'LD_LIBRARY_PATH': os.environ.get('LD_LIBRARY_PATH', ''),
'PYTHONPATH': os.environ.get('PYTHONPATH', ''),
}, },
) )
p.start() p.start()