You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dotnet watch process isn't stopped when executing dotnet-test-explorer.stop. The cmd shell that started the dotnet watch process is closed however.
Workaround is to kill the dotnet process with task manager.
Reproduction steps:
Enable the auto watch feature
Open vscode in the checked out example repo (where the .sln file is)
Open task manager, observe respective dotnet and cmd entries
Run Stop running processes
Observe dotnet entries still present:
dotnet watch test --verbosity:quiet --logger "trx;LogFileName=C:\Users\allen\AppData\Local\Temp\test-explorer-fvHIQG\autoWatch0.trx"
"C:\Program Files\dotnet\dotnet.exe" "C:\Program Files\dotnet\sdk\6.0.100\DotnetTools\dotnet-watch\6.0.100-rtm.21527.8\tools\net6.0\any\dotnet-watch.dll" test --verbosity:quiet --logger trx;LogFileName=C:\Users\allen\AppData\Local\Temp\test-explorer-fvHIQG\autoWatch0.trx
The text was updated successfully, but these errors were encountered:
allenbenz
changed the title
dotnet watch process started by auto watch feature lingers after vscode closed
dotnet watch process started by auto watch feature lingers after vscode closed on windows
Dec 10, 2021
I'm able to reproduce the issue by running cmd /c "dotnet watch test --project dotnet-test-explorer.sln"
and manually terminating the cmd process.
Using taskkill /pid <cmd pid> /t /f does kill the dotnet child processes.
allenbenz
changed the title
dotnet watch process started by auto watch feature lingers after vscode closed on windows
dotnet watch process started by auto watch feature not stopped by dotnet-test-explorer.stop on windows
Dec 10, 2021
dotnet sdk: 6.0.100
nunit: 3.13.2
OS: windows 10
example repo: https://github.com/allenbenz/dotnet-test-explorer-linger-issue
The dotnet watch process isn't stopped when executing
dotnet-test-explorer.stop
. The cmd shell that started the dotnet watch process is closed however.Workaround is to kill the dotnet process with task manager.
Reproduction steps:
Stop running processes
dotnet watch test --verbosity:quiet --logger "trx;LogFileName=C:\Users\allen\AppData\Local\Temp\test-explorer-fvHIQG\autoWatch0.trx"
"C:\Program Files\dotnet\dotnet.exe" "C:\Program Files\dotnet\sdk\6.0.100\DotnetTools\dotnet-watch\6.0.100-rtm.21527.8\tools\net6.0\any\dotnet-watch.dll" test --verbosity:quiet --logger trx;LogFileName=C:\Users\allen\AppData\Local\Temp\test-explorer-fvHIQG\autoWatch0.trx
The text was updated successfully, but these errors were encountered: