mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user