Command:
drush disable tribune
Initialized Drupal 6.9 root directory at /home/wp/public_html/.../public [notice]
Initialized Drupal site default at sites/default [notice]
now freezed
when pressed Enter:
The following modules will be disabled: tribune
Do you really want to continue? (y/n): drush: Aborting.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | drush_stderr_prompt_443392.patch | 652 bytes | anarcat |
Comments
Comment #1
owen barton commentedHey there - this works for me locally with HEAD - could you please retest with HEAD and see if that fixes it? If not, please check to see if this happens with other modules too, and (if so) test with an "out of the box" core install, so we can see if it is something indeed specific to your environment or just this site.
Comment #2
anarcat commentedI have just seen this happen here. It definitely looks like a buffering issue.
Here's a log:
Note that I suspended (^Z) the process because it was stalled. When I made it run again, everything showed up.
My guess is that there's some output buffering going on when the prompt is fired so the user can't see the prompt. Maybe the prompt should be fired at stderr instead?
Comment #3
anarcat commentedI have made a simple patch, but it's not working. I do not see the prompt.
In fact, i have this problem even when there is no prompt. It's as if drush_invoke() was introducing some race condition or something...
Comment #4
adrian commentedI committed a fix to drush. http://drupal.org/cvs?commit=208486
--backend implies -y
this is only for things that do backend_invoke , which update does now.
Comment #5
anarcat commented@kenorb - please test again with latest HEAD.
Comment #7
kenorb commentedOk, I'll test it soon
Thanks.