litl / galaxy

Docker Micro-PaaS
MIT License
119 stars 19 forks source link

app:run output seems to be truncated #260

Closed chrismrivera closed 9 years ago

chrismrivera commented 9 years ago

I ran a command via commander app:run that appeared to exit without any indication of why. Running the same command in the shell showed substantially more text, which contained an actual error message at the end.

jbardin commented 9 years ago

Here's a simple repro

commander -env dev app:run apiary 'date; sleep 10; date'

The last date never makes it to the console.

This version exits early after ~20sec

commander -env dev app:run apiary 'date; sleep 100; date'
joeshaw commented 9 years ago

Looks like a straightforward fix: switch Stream from false to true in the AttachToContainerOptions struct.