From d9ad3dd03ae101f8057d15e791da86599e779fce Mon Sep 17 00:00:00 2001 From: Marcos Del Sol Vives Date: Tue, 3 Dec 2024 13:33:10 +0100 Subject: [PATCH 1/2] Fix launching PowerShell on UNC paths --- pipenv/shells.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: From fc16d643b3348b786d68bacc2cce7cc002464e99 Mon Sep 17 00:00:00 2001 From: Marcos Del Sol Vives Date: Thu, 5 Dec 2024 22:35:28 +0100 Subject: [PATCH 2/2] Add news file for #6322 --- news/6322.bugfix.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/6322.bugfix.rst 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