|
182 | 182 | <BaseAddress>0x1e000000</BaseAddress> |
183 | 183 | </Link> |
184 | 184 | <PreBuildEvent> |
185 | | - <Command>$(KillPythonExe)</Command> |
| 185 | + <Command>$(KillPythonExe) |
| 186 | +IF %ERRORLEVEL% NEQ 0 ( |
| 187 | + echo kill_python: warning: could not kill running Pythons, exit code %ERRORLEVEL% |
| 188 | + exit /b 0 |
| 189 | +)</Command> |
186 | 190 | </PreBuildEvent> |
187 | 191 | <PreBuildEvent> |
188 | 192 | <Message>Killing any running $(PythonExe) instances...</Message> |
|
213 | 217 | <BaseAddress>0x1e000000</BaseAddress> |
214 | 218 | </Link> |
215 | 219 | <PreBuildEvent> |
216 | | - <Command>$(KillPythonExe)</Command> |
| 220 | + <Command>$(KillPythonExe) |
| 221 | +IF %ERRORLEVEL% NEQ 0 ( |
| 222 | + echo kill_python: warning: could not kill running Pythons, exit code %ERRORLEVEL% |
| 223 | + exit /b 0 |
| 224 | +)</Command> |
217 | 225 | </PreBuildEvent> |
218 | 226 | <PreBuildEvent> |
219 | 227 | <Message>Killing any running $(PythonExe) instances...</Message> |
|
244 | 252 | <BaseAddress>0x1e000000</BaseAddress> |
245 | 253 | </Link> |
246 | 254 | <PreBuildEvent> |
247 | | - <Command>$(KillPythonExe)</Command> |
| 255 | + <Command>$(KillPythonExe) |
| 256 | +IF %ERRORLEVEL% NEQ 0 ( |
| 257 | + echo kill_python: warning: could not kill running Pythons, exit code %ERRORLEVEL% |
| 258 | + exit /b 0 |
| 259 | +)</Command> |
248 | 260 | </PreBuildEvent> |
249 | 261 | <PreBuildEvent> |
250 | 262 | <Message>Killing any running $(PythonExe) instances...</Message> |
|
278 | 290 | <BaseAddress>0x1e000000</BaseAddress> |
279 | 291 | </Link> |
280 | 292 | <PreBuildEvent> |
281 | | - <Command>$(KillPythonExe)</Command> |
| 293 | + <Command>$(KillPythonExe) |
| 294 | +IF %ERRORLEVEL% NEQ 0 ( |
| 295 | + echo kill_python: warning: could not kill running Pythons, exit code %ERRORLEVEL% |
| 296 | + exit /b 0 |
| 297 | +)</Command> |
282 | 298 | </PreBuildEvent> |
283 | 299 | <PreBuildEvent> |
284 | 300 | <Message>Killing any running $(PythonExe) instances...</Message> |
|
307 | 323 | <BaseAddress>0x1e000000</BaseAddress> |
308 | 324 | </Link> |
309 | 325 | <PreBuildEvent> |
310 | | - <Command>$(KillPythonExe)</Command> |
| 326 | + <Command>$(KillPythonExe) |
| 327 | +IF %ERRORLEVEL% NEQ 0 ( |
| 328 | + echo kill_python: warning: could not kill running Pythons, exit code %ERRORLEVEL% |
| 329 | + exit /b 0 |
| 330 | +)</Command> |
311 | 331 | </PreBuildEvent> |
312 | 332 | <PreBuildEvent> |
313 | 333 | <Message>Killing any running $(PythonExe) instances...</Message> |
|
339 | 359 | <TargetMachine>MachineX64</TargetMachine> |
340 | 360 | </Link> |
341 | 361 | <PreBuildEvent> |
342 | | - <Command>$(KillPythonExe)</Command> |
| 362 | + <Command>$(KillPythonExe) |
| 363 | +IF %ERRORLEVEL% NEQ 0 ( |
| 364 | + echo kill_python: warning: could not kill running Pythons, exit code %ERRORLEVEL% |
| 365 | + exit /b 0 |
| 366 | +)</Command> |
343 | 367 | </PreBuildEvent> |
344 | 368 | <PreBuildEvent> |
345 | 369 | <Message>Killing any running $(PythonExe) instances...</Message> |
|
368 | 392 | <BaseAddress>0x1e000000</BaseAddress> |
369 | 393 | </Link> |
370 | 394 | <PreBuildEvent> |
371 | | - <Command>$(KillPythonExe)</Command> |
| 395 | + <Command>$(KillPythonExe) |
| 396 | +IF %ERRORLEVEL% NEQ 0 ( |
| 397 | + echo kill_python: warning: could not kill running Pythons, exit code %ERRORLEVEL% |
| 398 | + exit /b 0 |
| 399 | +)</Command> |
372 | 400 | </PreBuildEvent> |
373 | 401 | <PreBuildEvent> |
374 | 402 | <Message>Killing any running $(PythonExe) instances...</Message> |
|
400 | 428 | <TargetMachine>MachineX64</TargetMachine> |
401 | 429 | </Link> |
402 | 430 | <PreBuildEvent> |
403 | | - <Command>$(KillPythonExe)</Command> |
| 431 | + <Command>$(KillPythonExe) |
| 432 | +IF %ERRORLEVEL% NEQ 0 ( |
| 433 | + echo kill_python: warning: could not kill running Pythons, exit code %ERRORLEVEL% |
| 434 | + exit /b 0 |
| 435 | +)</Command> |
404 | 436 | </PreBuildEvent> |
405 | 437 | <PreBuildEvent> |
406 | 438 | <Message>Killing any running $(PythonExe) instances...</Message> |
|
0 commit comments