-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
InputTask does not wait user input via composer task scripts #1776
Comments
I'm unable to reproduce this (PHP 8.3.1). Phing prompts in both cases. |
It's not a matter of whether it prompts or not, it's a matter of whether it waits for the user's response (input) in one case, and just automatically selects the default answer and completes the input itself without waiting for the user in the other case. |
That's what I mean, in both cases I get a prompt which waits for input. |
There must be a problem with something else. For example, in Windows. |
Could be. I don't have access to a Windows machine so I can't confirm that (or write a fix). |
@dragomano can you debug this further on Windows? And possibly provide a fix? Otherwise I'll have to close this issue. |
Describe the bug
My build has a simple input with InputTask:
When I am running "vendor/bin/phing" via composer script -
composer run build
, user input does not work, it's skipped.Steps To Reproduce
Add "vendor/bin/phing" to composer
scripts
section:Then run
composer run build
in your console.Expected behavior
I want to get the same result from both commands:
composer run build
andvendor/bin/phing
.Screenshots / terminal output
composer run build
:vendor/bin/phing
:Additional context
Phing 3.0.0-rc6
Composer 2.6.5
PHP 8.2.13
The text was updated successfully, but these errors were encountered: