diff --git a/packages/cli/src/managers/shell.manager.ts b/packages/cli/src/managers/shell.manager.ts index 6e9e5ff2..13b4af5c 100644 --- a/packages/cli/src/managers/shell.manager.ts +++ b/packages/cli/src/managers/shell.manager.ts @@ -19,6 +19,7 @@ export class ShellManager { outputStderr?: boolean, outputDuration?: boolean, outputTimeBeforeExecutingCommand?: boolean, + childProcessHandleCallback?: (childProcessHandle: any) => void }): Promise { return new Promise((resolve, reject) => { const env = process.env; @@ -73,6 +74,7 @@ export class ShellManager { return resolve(code + ""); }); + options?.childProcessHandleCallback?.(child); return; }