bash_kernel
bash_kernel copied to clipboard
stdout streamed only line by line
If I have the following code:
while true; do echo -n "."; sleep 1; done
I never actually see the output.
If I remove the -n to echo, making the code print with newlines, I do see output:
while true; do echo "."; sleep 1; done
Should ideally stream output as it happens, rather than waiting for newline