Issue was caused due to assumption made when current position in log file while reading it reaches to last line then
we were assuming process is finished. However this is not the case. Background process may be busy performing
some other task and logs might not be logged to file immediately. So we should also check process exit code along
with above condition.
Apart from above this patch also includes minor fix related to status text colour.
Seems to work nicely, except that the text scrolls out of view almost immediately. Can you fix it to jump to the end of the text when more is appended please?
Fixed.
Looks good - though when I tested with a large database, it got to a point and then just stopped adding more data to the logs (in fact, even the err file in the process_log directory stopped receiving updates). However, the database carried on being dumped, and it had definitely moved past the point it was up to in the logs. I've attached all the output received - it literally stops at the 'c'.
I've committed the patch, but can you see if you can reproduce this please?