Skip to content

Commit

Permalink
Merge a050f5c into e276c17
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-b committed Sep 16, 2017
2 parents e276c17 + a050f5c commit 4330c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pexpect/popen_spawn.py
Expand Up @@ -41,7 +41,7 @@ def __init__(self, cmd, timeout=30, maxread=2000, searchwindowsize=None,
kwargs['creationflags'] = subprocess.CREATE_NEW_PROCESS_GROUP

if isinstance(cmd, string_types):
cmd = shlex.split(cmd)
cmd = shlex.split(cmd, posix=os.name == 'posix')

self.proc = subprocess.Popen(cmd, **kwargs)
self.pid = self.proc.pid
Expand Down

0 comments on commit 4330c3a

Please sign in to comment.