summary refs log tree commit diff
path: root/docker/start.py
diff options
context:
space:
mode:
Diffstat (limited to 'docker/start.py')
-rwxr-xr-xdocker/start.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/start.py b/docker/start.py

index 818a5355ca..0be9976a0c 100755 --- a/docker/start.py +++ b/docker/start.py
@@ -22,6 +22,11 @@ def error(txt: str) -> NoReturn: def flush_buffers() -> None: + """ + Python's `print()` buffers output by default, typically waiting until ~8KB + accumulates. This method can be used to flush the buffers so we can see the output + of any print statements so far. + """ sys.stdout.flush() sys.stderr.flush()