##// END OF EJS Templates
win32: specify _CREATE_NO_WINDOW on spawndetached()...
Adrian Buehlmann -
r17050:e780fb37 default
parent child Browse files
Show More
@@ -97,7 +97,7 b' class _PROCESS_INFORMATION(ctypes.Struct'
97 97 ('dwProcessId', _DWORD),
98 98 ('dwThreadId', _DWORD)]
99 99
100 _DETACHED_PROCESS = 0x00000008
100 _CREATE_NO_WINDOW = 0x08000000
101 101 _STARTF_USESHOWWINDOW = 0x00000001
102 102 _SW_HIDE = 0
103 103
@@ -337,7 +337,7 b' def spawndetached(args):'
337 337 args = comspec + " /c " + args
338 338
339 339 res = _kernel32.CreateProcessA(
340 None, args, None, None, False, _DETACHED_PROCESS,
340 None, args, None, None, False, _CREATE_NO_WINDOW,
341 341 env, os.getcwd(), ctypes.byref(si), ctypes.byref(pi))
342 342 if not res:
343 343 raise ctypes.WinError
General Comments 0
You need to be logged in to leave comments. Login now