Node will sometimes set stdout or stderr into non-blocking mode, but go will not notice this. When go attempts to write, we get an error: `write /dev/stdout: resource temporarily unavailable`. To avoid this issue, we copy the output of the command to the stdout and stderr of the go process. https://github.com/golang/go/issues/58408#issuecomment-1423621323 Fixes https://github.com/pulumi/pulumi/issues/16503