mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #564 from eli-b/windows-support
Fix popen_spawn when specifying a path on Windows which contains "\" separators
This commit is contained in:
Vendored
+1
-1
@@ -40,7 +40,7 @@ class PopenSpawn(SpawnBase):
|
||||
kwargs['creationflags'] = subprocess.CREATE_NEW_PROCESS_GROUP
|
||||
|
||||
if not isinstance(cmd, (list, tuple)):
|
||||
cmd = shlex.split(cmd)
|
||||
cmd = shlex.split(cmd, posix=sys.platform != 'win32')
|
||||
|
||||
self.proc = subprocess.Popen(cmd, **kwargs)
|
||||
self.closed = False
|
||||
|
||||
Reference in New Issue
Block a user