aboutsummaryrefslogtreecommitdiff
path: root/scripts/windows_conpty_enhanced_input_probe.ps1
diff options
context:
space:
mode:
authorJJ Liebig <jonathan.liebig@gmail.com>2026-09-05 20:39:32 +0200
committerGitHub <noreply@github.com>2026-09-05 21:39:32 +0300
commit50ce4ec2ddb8ec621a77d8773aa6df6d9e7441ff (patch)
treeb61a6e636e31394334ba2ba8e04a34c6e46d4d1b /scripts/windows_conpty_enhanced_input_probe.ps1
parent6c52aad511b0fb601e6223bd6ad944f48cbdba6d (diff)
fix: run the full applicable test suite on windows (#3660)
* fix: run the full applicable test suite on windows * test: remove redundant test shell assignment * test: make endpoint and metadata fixtures deterministic * test: tolerate exited servers during windows probe cleanup
Diffstat (limited to 'scripts/windows_conpty_enhanced_input_probe.ps1')
-rw-r--r--scripts/windows_conpty_enhanced_input_probe.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/windows_conpty_enhanced_input_probe.ps1 b/scripts/windows_conpty_enhanced_input_probe.ps1
index 1e452521..559396c4 100644
--- a/scripts/windows_conpty_enhanced_input_probe.ps1
+++ b/scripts/windows_conpty_enhanced_input_probe.ps1
@@ -478,7 +478,7 @@ fn main() {
} catch {
Write-Host "server stop during cleanup failed: $($_.Exception.Message)"
}
- Wait-Process -Id $server.Id -Timeout 10 -ErrorAction SilentlyContinue
+ $null = $server.WaitForExit(10000)
$server.Refresh()
if (-not $server.HasExited) {
& taskkill.exe /PID $server.Id /T /F 2>&1 | Out-Null