child process stdio problem #5029
Replies: 0 comments 5 replies
-
Have you verified this is a problem with node and not with how the child process operates normally? |
Beta Was this translation helpful? Give feedback.
-
I wrote in the description that I don't know where the problem is. But with the bash console command itself, it is possible to communicate without any problems. /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--headless --disable-gpu --repl https://www.google.com Could you please see where the problem is please? And if it's not a bug, write, there is a problem, and what are the solutions? |
Beta Was this translation helpful? Give feedback.
-
I'll convert this to a discussion because it's unlikely to be an issue with node itself. More likely chrome detects what type of file descriptors its stdio are and adjusts accordingly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Version
18.13.0
Platform
Darwin ALFA.home 21.6.0 Darwin Kernel Version 21.6.0: Sun Nov 6 23:31:16 PST 2022; root:xnu-8020.240.14~1/RELEASE_X86_64 x86_64
Subsystem
No response
What steps will reproduce the bug?
https://github.com/nodejs/node/issues/new?assignees=&labels=&template=1-bug-report.yml
I don't know exactly what the problem is, but since no one knows the solution, I assume it is a bug. I'll try to describe it in the examples.
I can't catch the chrome child process output without closing the stream.
uncork() not work:
stdout.on('data') not work:
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
I need to work from stdin and stdout without closing the stream.
What do you see instead?
...
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions