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
bug #47394 [Console] [Completion] Make bash completion run in non interactive mode (Seldaek)
This PR was merged into the 5.4 branch.
Discussion
----------
[Console] [Completion] Make bash completion run in non interactive mode
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License | MIT
| Doc PR | symfony/symfony-docs#... <!-- required for new features -->
Refs composer/composer#11024
Composer does prompt in some contexts, and that blocks/freezes the completion as it runs in an interactive context but is not actually visible. Explicitly setting it to be non interactive seems to be the fix to me.
TODO:
- [ ] A similar fix probably should be applied to other completion types supported in newer versions than 5.4
Commits
-------
cf0b56f Make bash completion run in non interactive mode
0 commit comments