child process stdio problem #5029
Unanswered
ObscurusGrassator
asked this question in
Q&A
Replies: 0 comments 5 replies
|
Have you verified this is a problem with node and not with how the child process operates normally? |
0 replies
|
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.comCould 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? |
0 replies
|
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. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
All reactions