mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-31 02:46:59 +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}"
|
||||
|
||||
# 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):
|
||||
'''Runing in a PyInstaller bundle:
|
||||
|
Loading…
Reference in New Issue
Block a user