-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(core): allow interactivity for run-commands #8269 #13283
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@AgentEnder Do you see any issues with this? |
Talked w/ Colum on this one this morning. This concerns me, as the whole reason for the direct-nodejs vs pipe output split is that execSync w/ inherit or similar should not work with direct-nodejs. I'll investigate this sometime this week. |
I think this is a case of "it happens to work for certain commands, but others fail" We should keep |
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
running any command via the
nx:run-commands
executor that expects user input is impossible. The output is hidden, and the terminal is not interactive to allow the user to input anything to the stdin stream.Expected Behavior
Running commands via the
nx:run-commands
executor should allow for the output of the underlying command to be streamed to the terminal, as it is most likely running a third-party tool, and it should also allow interactivity from the user to support maximum compatibility with the commands that can be run from it.Related Issue(s)
Fixes #8269