formulahendry / formulahendry/vscode-dotnet-test-explorer
dotnet watch process started by auto watch feature not stopped by `dotnet-test-explorer.stop` on windows
- Dominant language
- TypeScript
- Stars
- 208
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
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:
1. Enable the auto watch feature
2. Open vscode in the checked out example repo (where the .sln file is)
3. Open task manager, observe respective dotnet and cmd entries
4. Run `Stop running processes`
5. 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`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.