We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bb2f06 commit e62bc62Copy full SHA for e62bc62
lib/net.js
@@ -125,9 +125,7 @@ function Socket(options) {
125
this._handle = createHandle(options.fd);
126
this._handle.open(options.fd);
127
if ((options.fd == 1 || options.fd == 2) &&
128
- (this._handle instanceof Pipe) &&
129
- process.platform === 'win32') {
130
- // Make stdout and stderr blocking on Windows
+ (this._handle instanceof Pipe) {
131
var err = this._handle.setBlocking(true);
132
if (err)
133
throw errnoException(err, 'setBlocking');
0 commit comments