Commits

geertj  committed 097181a

Use CREATE_NEW_CONSOLE also with CreateProcess() not just
CreateProcessAsUser().

  • Participants
  • Parent commits ab64313

Comments (0)

Files changed (1)

File lib/winpexpect.py

         else:
             token = None
             res = CreateProcess(python, pyargs, None, None, False,
-                                0, self.env, self.cwd,
+                                CREATE_NEW_CONSOLE, self.env, self.cwd,
                                 startupinfo)
         child_handle = res[0]
         res[1].Close()  # don't need thread handle