diff --git a/src/rezplugins/shell/_utils/powershell_base.py b/src/rezplugins/shell/_utils/powershell_base.py index c5a04f24f..475e5f7c5 100644 --- a/src/rezplugins/shell/_utils/powershell_base.py +++ b/src/rezplugins/shell/_utils/powershell_base.py @@ -93,7 +93,7 @@ def get_syspaths(cls): for cmd in cmds: p = Popen(cmd, stdout=PIPE, stderr=PIPE, - shell=True, text=True) + text=True) out_, _ = p.communicate() out_ = out_.strip()