From db3c3c0720c17efe973298dc08b9b0dd5e8104a4 Mon Sep 17 00:00:00 2001 From: PH Tools Date: Sun, 13 Nov 2022 14:56:43 -0500 Subject: [PATCH] fix(run): Remove user warning when on Parallels --- PHX/run.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PHX/run.py b/PHX/run.py index 932c3ae..8eeaaf0 100644 --- a/PHX/run.py +++ b/PHX/run.py @@ -37,7 +37,10 @@ def _run_subprocess(commands): stdout, stderr = process.communicate() if stderr: - raise Exception(stderr) + if "Defaulting to Windows directory." in str(stderr): + print("Warning: {}".format(stderr)) + else: + raise Exception(stderr) for _ in str(stdout).split('\\n'): print(_)