Unset PYTHONPATH in wrapper script to avoid confusing Steam (Closes #1619)

This commit is contained in:
Mathieu Comandon 2019-01-18 17:39:09 -08:00
parent f47fe1a63b
commit f0f7c7e70b

View file

@ -66,6 +66,8 @@ def main():
include_procs, args = args[:include_proc_count], args[include_proc_count:]
exclude_procs, args = args[:exclude_proc_count], args[exclude_proc_count:]
if "PYTHONPATH" in os.environ:
del os.environ["PYTHONPATH"]
monitor = ProcessMonitor(include_procs, exclude_procs)
def sig_handler(signum, _frame):