diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-08-15 09:38:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-15 09:38:46 -0700 |
commit | 8749d651fb5e0964cdb8e62be7a59a603cbc3c7c (patch) | |
tree | 1506d08504561a4013ad03ff1068bec23e572102 /ext/io/lib.rs | |
parent | 7ca95fc999f22cb0eb312e02f8c40d7589b35b7e (diff) |
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.
Diffstat (limited to 'ext/io/lib.rs')
-rw-r--r-- | ext/io/lib.rs | 9 |
1 files changed, 9 insertions, 0 deletions
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. |