Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(node): support passing parent stdio streams #19171

Merged
merged 1 commit into from
May 18, 2023

Conversation

marvinhagemeister
Copy link
Contributor

@marvinhagemeister marvinhagemeister commented May 17, 2023

This is a bit bare bones but gets npm-run-all working. For full stdio compatibility with node more work is needed which is probably better done in follow up PRs.

Fixes #19159

Proof that it works

Before:

Screenshot 2023-05-18 at 11 28 03

After:

Screenshot 2023-05-18 at 11 14 10

@marvinhagemeister marvinhagemeister force-pushed the node-stream-stdio branch 2 times, most recently from 38ce6a1 to c2fbb0f Compare May 18, 2023 08:36
@marvinhagemeister marvinhagemeister marked this pull request as ready for review May 18, 2023 08:36
@marvinhagemeister marvinhagemeister changed the title fix(node): support child stdio streams fix(node): support passing parent stdio streams May 18, 2023
@bartlomieju bartlomieju self-requested a review May 18, 2023 10:56
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great improvement. Thanks Marvin!

@bartlomieju bartlomieju merged commit 695b5de into denoland:main May 18, 2023
@marvinhagemeister marvinhagemeister deleted the node-stream-stdio branch May 18, 2023 12:04
levex pushed a commit that referenced this pull request May 18, 2023
This is a bit bare bones but gets `npm-run-all` working. For full stdio
compatibility with node more work is needed which is probably better
done in follow up PRs.

Fixes #19159
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[node] child_process stdio streams not supported
2 participants