Closed rr- closed 9 years ago
Heads up: turning off stdin
by specifying {options: {stdin: false}}
makes the issue go away.
It certainly feels like a bug, though. If it's impossible to use stdin
on Cygwin, there should be a warning.
Cygwin support is abysmal. I'd suggest using cmd.exe or PowerShell instead.
:-1:
Consider this simple task:
When I run it on Debian and in Windows cmd, it's executed just fine. When I run it on cygwin, I get following error:
Version of Cygwin:
At first I thought the problem lies with the underlying
child_process
module, but after creating following file:Running
node test.js
outputs content ofls
just fine.