diff --git a/news/6322.bugfix.rst b/news/6322.bugfix.rst new file mode 100644 index 0000000000..d9c363c5ae --- /dev/null +++ b/news/6322.bugfix.rst @@ -0,0 +1 @@ +Fix launching PowerShell on UNC paths diff --git a/pipenv/shells.py b/pipenv/shells.py index 70938a1f35..d579785973 100644 --- a/pipenv/shells.py +++ b/pipenv/shells.py @@ -73,7 +73,7 @@ def _handover(cmd, args): if os.name != "nt": os.execvp(cmd, args) else: - sys.exit(subprocess.call(args, shell=True, universal_newlines=True)) + sys.exit(subprocess.call(args, universal_newlines=True)) class Shell: