Separated stderr & stdout buffers
This commit is contained in:
parent
e671d4cba0
commit
d8223cebb9
2 changed files with 28 additions and 7 deletions
|
|
@ -17,7 +17,7 @@ export class MI2_LLDB extends MI2 {
|
|||
return new Promise((resolve, reject) => {
|
||||
this.process = ChildProcess.spawn(this.application, this.preargs, { cwd: cwd });
|
||||
this.process.stdout.on("data", this.stdout.bind(this));
|
||||
this.process.stderr.on("data", this.stdout.bind(this));
|
||||
this.process.stderr.on("data", this.stderr.bind(this));
|
||||
this.process.on("exit", (() => { this.emit("quit"); }).bind(this));
|
||||
Promise.all([
|
||||
this.sendCommand("gdb-set target-async on"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue