diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index 32038678f1f..1130503c3d1 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -118,7 +118,8 @@ foreach (System.Diagnostics.Process p in System.Diagnostics.Process.GetProcesses - + + diff --git a/Tools/buildbot/clean.bat b/Tools/buildbot/clean.bat index 39fec01d70b..09328bcc9c1 100644 --- a/Tools/buildbot/clean.bat +++ b/Tools/buildbot/clean.bat @@ -16,7 +16,7 @@ if "%1" == "x64" ( call "%pcbuild%\env.bat" %vcvars_target% echo.Attempting to kill Pythons... -msbuild /v:m /nologo /target:KillPython "%pcbuild%\pythoncore.vcxproj" /p:Configuration=Release /p:Platform=%platform% +msbuild /v:m /nologo /target:KillPython "%pcbuild%\pythoncore.vcxproj" /p:Configuration=Release /p:Platform=%platform% /p:KillPython=true echo Deleting .pyc/.pyo files ... del /s "%root%\Lib\*.pyc" "%root%\Lib\*.pyo"