child_process
"pipe"s what are they really at the OS level, can they be used outside of Node.JS?
#44785
Unanswered
segevfiner
asked this question in
General
Replies: 1 comment 3 replies
-
They're UNIX sockets. Specifically, one end of a socketpair(2). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Node.JS docs state:
So what are they really? At the OS level? I'm looking for a way for a
child_process
to have a file descriptor/pipe it can monitor for closure to know when its parent process has terminated. But since those are not real file descriptors, I have no idea how I can use them from a child process that isn't Node.JS, or if it is even possible ATM. e.g. Can a Python process read from astdio > 2
spawned from a Node.JS parent?Beta Was this translation helpful? Give feedback.
All reactions