It looks like the use of overlapped I/O on stdio ports may cause some problems in Windows. When I try to shell out to npm install using Stdio::piped() on the stderr port, the command runs successfully but hangs at the end.
@alexcrichton pointed me to this commit as the likely culprit: 7c3038f
Here's the smallest test case I could figure out how to create: https://github.com/dherman/hang-command
I wanted to try to come up with a minimal Node script to shell out to, as opposed to npm install. Unfortunately, I'm not good enough at debugging npm and Node to figure out exactly what they're doing that causes the hang.
It looks like the use of overlapped I/O on stdio ports may cause some problems in Windows. When I try to shell out to
npm installusingStdio::piped()on the stderr port, the command runs successfully but hangs at the end.@alexcrichton pointed me to this commit as the likely culprit: 7c3038f
Here's the smallest test case I could figure out how to create: https://github.com/dherman/hang-command
I wanted to try to come up with a minimal Node script to shell out to, as opposed to
npm install. Unfortunately, I'm not good enough at debugging npm and Node to figure out exactly what they're doing that causes the hang.