Can I get stdin in electron main process?



I try to run a c++ program and it will stdout to the stdin of the application which is created by electron.
However it can work in Mac not in Windows.
In windows, the application created by electron can not get any command from process.stdin.
It always show ‘xxxx’ is not recognized as an internal or external command, operable program or batch file.
How to get stdin in windows?


Just curious, but did you manage to get stdin in the end?


I’m looking for this either. Any updates?