You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(toolkit): capture all output from an app (#33259)
### Issue #32997
Relates to #32997
### Reason for this change
When a CDK app is invoked by a sub-shell, we need to capture all output
by lines and send it to the IoHost.
### Description of changes
Adds an `EventPublisher` interface to the `execInChildProcess` helper.
This is getting passed in a publisher that uses the IoHost.
Inspired from the [ShellEventPublisher in
cdk-assets](https://github.com/cdklabs/cdk-assets/blame/8751d206ea3fa6dbb6156125c64d0ea0e8df289e/lib/private/shell.ts#L6).
### Describe any new or updated permissions being added
n/a
### Description of how you validated changes
<!--Have you added any unit tests and/or integration tests?-->
### Checklist
- [x] My code adheres to the [CONTRIBUTING
GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and
[DESIGN
GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 license*
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
0 commit comments