File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/playwright-core/src/tools/cli-client Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ async function killAllDaemons(): Promise<void> {
231231 const result = execSync (
232232 `powershell -NoProfile -NonInteractive -Command `
233233 + `"Get-CimInstance Win32_Process `
234- + `| Where-Object { $_.CommandLine -like '*run-mcp-server*' -or $_.CommandLine -like '*run-cli-server*' -or $_.CommandLine -like '*cli-daemon*' } `
234+ + `| Where-Object { $_.CommandLine -like '*run-mcp-server*' -or $_.CommandLine -like '*run-cli-server*' -or $_.CommandLine -like '*cli-daemon*' -or $_.CommandLine -like '*dashboardApp.js*' } `
235235 + `| ForEach-Object { Stop-Process -Id $_.ProcessId -Force -ErrorAction SilentlyContinue; $_.ProcessId }"` ,
236236 { encoding : 'utf-8' }
237237 ) ;
@@ -245,7 +245,7 @@ async function killAllDaemons(): Promise<void> {
245245 const result = execSync ( 'ps aux' , { encoding : 'utf-8' } ) ;
246246 const lines = result . split ( '\n' ) ;
247247 for ( const line of lines ) {
248- if ( line . includes ( 'run-mcp-server' ) || line . includes ( 'run-cli-server' ) || line . includes ( 'cli-daemon' ) ) {
248+ if ( line . includes ( 'run-mcp-server' ) || line . includes ( 'run-cli-server' ) || line . includes ( 'cli-daemon' ) || line . includes ( 'dashboardApp.js' ) ) {
249249 const parts = line . trim ( ) . split ( / \s + / ) ;
250250 const pid = parts [ 1 ] ;
251251 if ( pid && / ^ \d + $ / . test ( pid ) ) {
You can’t perform that action at this time.
0 commit comments