Log stdout directly

This commit is contained in:
Adam Gastineau 2025-01-27 11:29:31 -08:00
parent ee7b0e6188
commit 7ae7048e9f

View file

@ -26,7 +26,7 @@ test('should close the browser when the node process closes', async ({ startRemo
const remoteServer = await startRemoteServer('launchServer', { url: server.EMPTY_PAGE });
try {
if (isWindows)
execSync(`taskkill /pid ${remoteServer.child().pid} /T /F`, { stdio: 'inherit' });
console.log(execSync(`taskkill /pid ${remoteServer.child().pid} /T /F`, { stdio: 'inherit' }));
else
process.kill(remoteServer.child().pid);
} catch (error) {