Skip to content

Commit

Permalink
fix(run): Remove user warning when on Parallels
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-p-may committed Nov 13, 2022
1 parent 176082c commit db3c3c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion PHX/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(_)
Expand Down

0 comments on commit db3c3c0

Please sign in to comment.