Tests on Windows: no console for CLI children, .exe for the Go oracle; CI test timeout

A hidden console on Windows runners let a confirmation prompt wait
forever, and the oracle built without .exe could not be run.
This commit is contained in:
Andy Dixon
2026-10-13 14:23:43 +01:00
parent f62e74a3e9
commit c9725f18d4
3 changed files with 8 additions and 1 deletions
+4
View File
@@ -54,6 +54,10 @@ impl Env {
if let Some(p) = pass {
c.env("VAULT_PASSPHRASE", p);
}
// No console, as Unix tests have no terminal: CI runners have a
// hidden one, where a prompt would wait forever.
#[cfg(windows)]
std::os::windows::process::CommandExt::creation_flags(&mut c, 0x0000_0008); // DETACHED_PROCESS
c
}