Created
March 1, 2015 10:06
-
-
Save kitsuyui/4a87cb924e10c4266ccd to your computer and use it in GitHub Desktop.
Python で stdout/stderr のバッファを無効にするオプション ref: http://qiita.com/kitsuyui/items/7d1704850e503be8dd1c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ python -c 'import time; print(1); time.sleep(3); print(2)' | |
| 1 | |
| 2 | |
| $ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ python -c 'import time; print(1); time.sleep(3); print(2)' | cat | |
| 1 | |
| 2 | |
| $ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ python -u -c 'import time; print(1); time.sleep(3); print(2)' | cat | |
| 1 | |
| 2 | |
| $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment