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
I think that's basically gradlew (or whatever subprocess) not detecting that the STDOUT/STDERR is not a real TTY device, but continuing to print interactive progress and control characters.
A good way to test this is to run like command 2>&1 | tee file.txt, if you are still seeing the same output in the file.txt, then I think that program is not well-written to handle this case.
We could attach a pseudo-TTY to the commands, but it's less than ideal, as they could clear the screen etc.
Reproduce with:
https://github.com/jamesward/springboot-kotlin-reactive-demo/tree/repro-stdout
When the build hook command runs it stops outputting after a few seconds, like:
If I run the same command in Cloud Shell (not via Button) I get:
The text was updated successfully, but these errors were encountered: