Pass empty inherited FDs in the Wine PTY test (#34517)

Update the PowerShell-under-Wine test for the `spawn_pty_process` API by
explicitly requesting that no file descriptors be inherited.

GitOrigin-RevId: 38e1db3160cdac155325bb9d07cb321a2d57eb19
This commit is contained in:
zsol-openai
2026-07-21 10:52:14 +00:00
committed by copyberry
parent 7982aa27ff
commit b9800de486

View File

@@ -364,6 +364,7 @@ async fn pinned_powershell_runs_under_wine_with_a_pty() -> Result<()> {
&env,
/*arg0*/ &None,
TerminalSize::default(),
/*inherited_fds*/ &[],
)
.await?;
let command_result = timeout(Duration::from_secs(30), async {