mirror of
https://github.com/clearml/wexpect-venv
synced 2025-02-07 05:20:52 +00:00
[FIX] PYTHONPATH grew run-to-run. Fix #31
This commit is contained in:
parent
b9e1a06296
commit
be7bd4be4f
@ -351,7 +351,8 @@ class SpawnBase:
|
|||||||
console_args = f" {console_class_parameters_str} -- {args_str}"
|
console_args = f" {console_class_parameters_str} -- {args_str}"
|
||||||
|
|
||||||
# set environment variables for the console
|
# set environment variables for the console
|
||||||
environ = os.environ
|
# Deep copy needed to prevent cycle-to-cycle growth. See #31 for more details.
|
||||||
|
environ = os.environ.copy()
|
||||||
|
|
||||||
if getattr(sys, 'frozen', False):
|
if getattr(sys, 'frozen', False):
|
||||||
'''Runing in a PyInstaller bundle:
|
'''Runing in a PyInstaller bundle:
|
||||||
|
Loading…
Reference in New Issue
Block a user