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

Change NPM script to spawn with inherited STDIO #583

Merged
merged 2 commits into from
Dec 8, 2023

Conversation

TheSpyder
Copy link
Contributor

Closes #582

Check the following

  • Keep 100% code coverage
  • Be properly formatted
  • Documentation changes are included
  • Include a change file if expected

Additional context
When I created the script I only tested the non-interactive commands (where pipe was enough). I also forgot to pipe the stdin channel, but that wouldn't have fixed the problem.

After doing a bit more research, the inherit option direct maps node's stdio channels to the spawned child process, which is what we actually want.

@miniscruff
Copy link
Owner

Let me give this a proper try this time hehe

@miniscruff
Copy link
Owner

Mind doing a quick changie batch auto + merge and we can get this out asap?

@TheSpyder
Copy link
Contributor Author

Done, sorry, didn't see you responded that quickly 😂

@miniscruff miniscruff merged commit bf07203 into miniscruff:main Dec 8, 2023
@TheSpyder TheSpyder deleted the 582-node-stdio branch December 8, 2023 06:59
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.

Key registration issue in project selection Interface with changie in yarn environment
2 participants