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 9c13839 commit 80ff18aCopy full SHA for 80ff18a
index.ts
@@ -135,6 +135,7 @@ export class PythonShell extends EventEmitter{
135
this.mode = options.mode || 'text';
136
this.formatter = resolve('format', options.formatter || this.mode);
137
this.parser = resolve('parse', options.parser || this.mode);
138
+ // We don't expect users to ever format stderr as JSON so we default to text mode
139
this.stderrParser = resolve('parse', options.stderrParser || 'text');
140
this.terminated = false;
141
this.childProcess = spawn(pythonPath, this.command, options);
0 commit comments