fix(core): cosmetics
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
export * from './smartshell.classes.smartshell';
|
||||
export { which } from './smartshell.plugins';
|
||||
export { which } from './smartshell.plugins';
|
||||
|
@ -82,7 +82,7 @@ export class ShellEnv {
|
||||
sourceString = sourceString + `source ${sourceFilePath} && `;
|
||||
}
|
||||
|
||||
// deal with avaiable path
|
||||
// deal with available path
|
||||
let pathString = 'PATH=$PATH';
|
||||
for (const pathDir of this.pathDirArray) {
|
||||
pathString += `:${pathDir}`;
|
||||
|
@ -59,6 +59,7 @@ export class Smartshell {
|
||||
const spawnlogInstance = new ShellLog();
|
||||
const execChildProcess = cp.spawn(commandToExecute, [], {
|
||||
shell: true,
|
||||
cwd: process.cwd(),
|
||||
env: process.env,
|
||||
detached: false,
|
||||
});
|
||||
|
Reference in New Issue
Block a user