We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deb09d9 commit 466b365Copy full SHA for 466b365
lib/spawnify.js
@@ -128,13 +128,13 @@
128
break;
129
}
130
131
- child.stderr.setEncoding('utf-8');
132
- child.stdout.setEncoding('utf-8');
133
- child.stdin.setEncoding('utf-8');
134
-
135
if (error) {
136
this._emit('error', newLine(error));
137
} else {
+ child.stderr.setEncoding('utf-8');
+ child.stdout.setEncoding('utf-8');
+ child.stdin.setEncoding('utf-8');
+
138
this._setListeners(child);
139
140
this.on('kill', function(code) {
0 commit comments