##// END OF EJS Templates
win32: remove uneeded usage of _STARTF_USESHOWWINDOW...
Adrian Buehlmann -
r17051:c5ed575f default
parent child Browse files
Show More
@@ -98,7 +98,6 b' class _PROCESS_INFORMATION(ctypes.Struct'
98 ('dwThreadId', _DWORD)]
98 ('dwThreadId', _DWORD)]
99
99
100 _CREATE_NO_WINDOW = 0x08000000
100 _CREATE_NO_WINDOW = 0x08000000
101 _STARTF_USESHOWWINDOW = 0x00000001
102 _SW_HIDE = 0
101 _SW_HIDE = 0
103
102
104 class _COORD(ctypes.Structure):
103 class _COORD(ctypes.Structure):
@@ -318,8 +317,6 b' def spawndetached(args):'
318 # which makes really detached processes impossible.
317 # which makes really detached processes impossible.
319 si = _STARTUPINFO()
318 si = _STARTUPINFO()
320 si.cb = ctypes.sizeof(_STARTUPINFO)
319 si.cb = ctypes.sizeof(_STARTUPINFO)
321 si.dwFlags = _STARTF_USESHOWWINDOW
322 si.wShowWindow = _SW_HIDE
323
320
324 pi = _PROCESS_INFORMATION()
321 pi = _PROCESS_INFORMATION()
325
322
General Comments 0
You need to be logged in to leave comments. Login now