factorial-io / phabalicious

Supports your deployments and every-day devops-tasks
http://docs.phab.io
MIT License
18 stars 3 forks source link

Extra output on drush commands makes piping difficult #98

Closed mikran closed 4 years ago

mikran commented 4 years ago

Each drush command outputs "Connection to my-site.test closed." to the end of it. This makes it very unpractical to pipe the output to other commands.

Some drush commands also start with extra output of "Starting drush on mbb" but this can be suppressed with -q. But I could not figure out how to silence the ssh output of closed connection.

Example

I want to check if shortcut module is enabled or not. I run command

phab -cmbb drush pml|grep shortcut

This outputs the status of shortcut module but the the command just hangs and never exits.

stmh commented 4 years ago

hi @mikran

I fixed the hang and silenced ssh, but besides that I cant reproduce the issue on my end. Changes are committed to develop branch, would be great if you can test it on your end (just clone the repo and run the command you want via /my/absolute/url/to/phabalicious/bin/phab ...

mikran commented 4 years ago

I fixed the hang and silenced ssh, but besides that I cant reproduce the issue on my end. Changes are committed to develop branch, would be great if you can test it on your end (just clone the repo and run the command you want via /my/absolute/url/to/phabalicious/bin/phab ...

It is fixed now. Thank you!