From b9800de4867e500a92add3cde795cf4790306d0f Mon Sep 17 00:00:00 2001 From: zsol-openai Date: Tue, 21 Jul 2026 10:52:14 +0000 Subject: [PATCH] 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 --- bazel/rules/testing/wine/src/lib_tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/bazel/rules/testing/wine/src/lib_tests.rs b/bazel/rules/testing/wine/src/lib_tests.rs index e32d17399f..92e309829d 100644 --- a/bazel/rules/testing/wine/src/lib_tests.rs +++ b/bazel/rules/testing/wine/src/lib_tests.rs @@ -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 {