diff --git a/lib/net.js b/lib/net.js index d353ff70b04..0810cca3d64 100644 --- a/lib/net.js +++ b/lib/net.js @@ -155,8 +155,7 @@ function Socket(options) { this._handle = createHandle(options.fd); this._handle.open(options.fd); if ((options.fd == 1 || options.fd == 2) && - (this._handle instanceof Pipe) && - process.platform === 'win32') { + (this._handle instanceof Pipe)) { // Make stdout and stderr blocking on Windows var err = this._handle.setBlocking(true); if (err)