From 8749d651fb5e0964cdb8e62be7a59a603cbc3c7c Mon Sep 17 00:00:00 2001 From: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> Date: Thu, 15 Aug 2024 09:38:46 -0700 Subject: fix(node): Create additional pipes for child processes (#25016) Linux/macos only currently. Part of https://github.com/denoland/deno/issues/23524 (fixes it on platforms other than windows). Part of #16899 (fixes it on platforms other than windows). After this PR, playwright is functional on mac/linux. --- ext/io/lib.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ext/io/lib.rs') diff --git a/ext/io/lib.rs b/ext/io/lib.rs index a2f14e0db..47921bcee 100644 --- a/ext/io/lib.rs +++ b/ext/io/lib.rs @@ -60,12 +60,21 @@ mod pipe; #[cfg(windows)] mod winpipe; +mod bi_pipe; + pub use pipe::pipe; pub use pipe::AsyncPipeRead; pub use pipe::AsyncPipeWrite; pub use pipe::PipeRead; pub use pipe::PipeWrite; +pub use bi_pipe::bi_pipe_pair_raw; +pub use bi_pipe::BiPipe; +pub use bi_pipe::BiPipeRead; +pub use bi_pipe::BiPipeResource; +pub use bi_pipe::BiPipeWrite; +pub use bi_pipe::RawBiPipeHandle; + // Store the stdio fd/handles in global statics in order to keep them // alive for the duration of the application since the last handle/fd // being dropped will close the corresponding pipe. -- cgit v1.2.3