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 4e4af27 commit 7c2b56bCopy full SHA for 7c2b56b
src/services/NsCliService.ts
@@ -92,7 +92,8 @@ export abstract class NSProject extends EventEmitter {
92
public abstract debug(args: IAttachRequestArgs | ILaunchRequestArgs): Promise<any>;
93
94
protected spawnProcess(commandPath: string, commandArgs: string[], tnsOutput?: string): ChildProcess {
95
- let child: ChildProcess = spawn(commandPath, commandArgs, { cwd: this.getProjectPath() });
+ let options = { cwd: this.getProjectPath(), shell: true };
96
+ let child: ChildProcess = spawn(commandPath, commandArgs, options);
97
child.stdout.setEncoding('utf8');
98
child.stderr.setEncoding('utf8');
99
return child;
0 commit comments