File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ def _windows_runner(runner, arguments):
121121 # from win32com.shell.shell import ShellExecuteEx
122122 # from win32com.shell import shellcon
123123 # pylint: disable=C0103 (invalid-name)
124+ # pylint: disable=E0606 (possibly-used-before-assignment)
124125 childProcess = ShellExecuteEx (
125126 nShow = 0 ,
126127 fMask = shellcon .SEE_MASK_NOCLOSEPROCESS ,
@@ -132,8 +133,10 @@ def _windows_runner(runner, arguments):
132133 # pylint: disable=C0103 (invalid-name)
133134 procHandle = childProcess ["hProcess" ]
134135 # pylint: disable=I1101 (c-extension-no-member)
136+ # pylint: disable=E0606 (possibly-used-before-assignment)
135137 win32event .WaitForSingleObject (procHandle , win32event .INFINITE )
136138 # pylint: disable=I1101 (c-extension-no-member)
139+ # pylint: disable=E0606 (possibly-used-before-assignment)
137140 exit_code = win32process .GetExitCodeProcess (procHandle )
138141 return exit_code
139142
You can’t perform that action at this time.
0 commit comments