Show More
@@ -474,6 +474,9 b' if pycompat.iswindows:' | |||||
474 | # https://msdn.microsoft.com/en-us/library/windows/desktop/ms684863.aspx |
|
474 | # https://msdn.microsoft.com/en-us/library/windows/desktop/ms684863.aspx | |
475 | # No stdlib constant exists for this value |
|
475 | # No stdlib constant exists for this value | |
476 | DETACHED_PROCESS = 0x00000008 |
|
476 | DETACHED_PROCESS = 0x00000008 | |
|
477 | # Following creation flags might create a console GUI window. | |||
|
478 | # Using subprocess.CREATE_NEW_CONSOLE might helps. | |||
|
479 | # See https://phab.mercurial-scm.org/D1701 for discussion | |||
477 | _creationflags = DETACHED_PROCESS | subprocess.CREATE_NEW_PROCESS_GROUP |
|
480 | _creationflags = DETACHED_PROCESS | subprocess.CREATE_NEW_PROCESS_GROUP | |
478 |
|
481 | |||
479 | def runbgcommand(script, env, shell=False, stdout=None, stderr=None): |
|
482 | def runbgcommand(script, env, shell=False, stdout=None, stderr=None): |
General Comments 0
You need to be logged in to leave comments.
Login now