1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-08-08 22:36:48 +02:00

flush streamed text for better piping experience

This commit is contained in:
Kelly Brazil
2021-09-13 20:51:24 -07:00
parent 2d6b53e012
commit bf0bc32d7a

View File

@ -625,7 +625,8 @@ def main():
pretty=pretty,
env_colors=jc_colors,
mono=mono,
piped_out=piped_output()))
piped_out=piped_output()),
flush=True) # unbuffers between piped commands
sys.exit(combined_exit_code(magic_exit_code, 0))