Skip to content

Commit 3fe3542

Browse files
authored
Merge pull request #6322 from socram8888/fix-pwsh-smb
Fix launching PowerShell on UNC paths
2 parents a51808a + fc16d64 commit 3fe3542

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

news/6322.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix launching PowerShell on UNC paths

pipenv/shells.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def _handover(cmd, args):
7474
if os.name != "nt":
7575
os.execvp(cmd, args)
7676
else:
77-
sys.exit(subprocess.call(args, shell=True, universal_newlines=True))
77+
sys.exit(subprocess.call(args, universal_newlines=True))
7878

7979

8080
class Shell:

0 commit comments

Comments
 (0)