diff --git a/packages/playwright-core/src/utils/processLauncher.ts b/packages/playwright-core/src/utils/processLauncher.ts index 5459340b39..79dc2e8d4a 100644 --- a/packages/playwright-core/src/utils/processLauncher.ts +++ b/packages/playwright-core/src/utils/processLauncher.ts @@ -172,8 +172,12 @@ export async function launchProcess(options: LaunchProcessOptions): Promise { const remoteServer = await startRemoteServer({ url: server.EMPTY_PAGE }); if (isWindows) - execSync(`taskkill /pid ${remoteServer.child().pid} /T /F`); + execSync(`taskkill /pid ${remoteServer.child().pid} /T /F`, { stdio: 'ignore' }); else process.kill(remoteServer.child().pid); // We might not get browser exitCode in time when killing the parent node process,