Fix #98
This commit is contained in:
parent
edfac8eb1a
commit
a21e2e65af
6 changed files with 47 additions and 11 deletions
|
|
@ -25,7 +25,7 @@ export class MI2_LLDB extends MI2 {
|
|||
|
||||
attach(cwd: string, executable: string, target: string): Thenable<any> {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.process = ChildProcess.spawn(this.application, this.preargs, { cwd: cwd });
|
||||
this.process = ChildProcess.spawn(this.application, this.preargs, { cwd: cwd, env: this.procEnv });
|
||||
this.process.stdout.on("data", this.stdout.bind(this));
|
||||
this.process.stderr.on("data", this.stderr.bind(this));
|
||||
this.process.on("exit", (() => { this.emit("quit"); }).bind(this));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue