feat(cli): Add interactive edit command and update support for process configurations
This commit is contained in:
@@ -47,7 +47,7 @@ export class ProcessWrapper extends EventEmitter {
|
||||
this.options.args,
|
||||
{
|
||||
cwd: this.options.cwd,
|
||||
env: this.options.env || process.env,
|
||||
env: { ...process.env, ...(this.options.env || {}) },
|
||||
stdio: ['ignore', 'pipe', 'pipe'], // We need to pipe stdout and stderr
|
||||
},
|
||||
);
|
||||
@@ -55,7 +55,7 @@ export class ProcessWrapper extends EventEmitter {
|
||||
// Use shell mode to allow a full command string
|
||||
this.process = plugins.childProcess.spawn(this.options.command, {
|
||||
cwd: this.options.cwd,
|
||||
env: this.options.env || process.env,
|
||||
env: { ...process.env, ...(this.options.env || {}) },
|
||||
stdio: ['ignore', 'pipe', 'pipe'], // We need to pipe stdout and stderr
|
||||
shell: true,
|
||||
});
|
||||
|
Reference in New Issue
Block a user