Unable to write to child.stdin on Windows #4909
Labels
child_process
Issues and PRs related to the child_process subsystem.
windows
Issues and PRs related to the Windows platform.
I wrote the two scripts to illustrate a problem. Script in JS uses child_process to execute a script written in Python. JS one then writes something to child's stdin. Child then should print everything to stdout.
Below is the output I get when I run the script.
Nothing happens after. However, when I run python script directly and type anything into a terminal, it prints input back as expected, which means that the python script works correctly and the problem is probably caused on the js side.
I don't experience such bug on Linux.
Can somebody explain, why can't I write into a child's stdin on Windows?
Thanks in advance.
The text was updated successfully, but these errors were encountered: