Skip to content

Commit

Permalink
- Allow ability for childProcessHandle to be obtained.
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennenoel committed Dec 9, 2024
1 parent e647e29 commit e4e78f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cli/src/managers/shell.manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class ShellManager {
outputStderr?: boolean,
outputDuration?: boolean,
outputTimeBeforeExecutingCommand?: boolean,
childProcessHandleCallback?: (childProcessHandle: any) => void
}): Promise<string> {
return new Promise<string>((resolve, reject) => {
const env = process.env;
Expand Down Expand Up @@ -73,6 +74,7 @@ export class ShellManager {
return resolve(code + "");
});

options?.childProcessHandleCallback?.(child);
return;
}

Expand Down

0 comments on commit e4e78f5

Please sign in to comment.