Skip to content

Commit 5ebfbcb

Browse files
committed
chore(ci): temporary Windows check repro, show stderr
1 parent 1924e67 commit 5ebfbcb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/cliopen-win-check.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ jobs:
5959
Write-Host "RUN $i exited=$exited code=$($p.ExitCode) at $($sw.Elapsed.TotalSeconds)s"
6060
$eof = $outTask.Wait(60000)
6161
Write-Host "RUN $i stdout EOF reached=$eof at $($sw.Elapsed.TotalSeconds)s"
62-
if ($eof) { Write-Host $outTask.Result }
62+
Write-Host "--- stdout:"; if ($eof) { Write-Host $outTask.Result }
63+
Write-Host "--- stderr:"; if ($errTask.Wait(20000)) { Write-Host $errTask.Result } else { Write-Host "(stderr never reached EOF)" }
6364
Get-CimInstance Win32_Process -Filter "Name='node.exe'" | ForEach-Object { Write-Host " lingering node pid $($_.ProcessId): $($_.CommandLine)" }
6465
if (-not $exited) { Stop-Process -Id $p.Id -Force }
6566
}

0 commit comments

Comments
 (0)