[issue33411] All console message are in the error output in bash interpretor
New submission from Quentin Millardet : The probleme is all display (normal and error message), in bash, are send to the screen by the error output. So it's impossible when someone make a bash script to get the error back in a log file for exemple, or just to display only the error on a screen. Problem test on Ubuntu 18.04 and Elementary loki (an Ubuntu 16.04 variant) -- components: IO files: Capture d'écran du 2018-05-02 16.16.09.png messages: 316073 nosy: Quentin Millardet priority: normal severity: normal status: open title: All console message are in the error output in bash interpretor type: behavior versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8 Added file: https://bugs.python.org/file47560/Capture d'écran du 2018-05-02 16.16.09.png ___ Python tracker <https://bugs.python.org/issue33411> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33411] All console message are in the error output in bash interpretor
Change by Quentin Millardet : -- status: open -> ___ Python tracker <https://bugs.python.org/issue33411> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33411] All console message are in the error output in bash interpretor
Change by Quentin Millardet : -- status: -> open ___ Python tracker <https://bugs.python.org/issue33411> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33411] All console message are in the error output in bash interpretor
Quentin Millardet added the comment: In a bash terminal, obtained result: $python > Normal.txt 2> Error.txt import a $cat Normal.txt $cat Error.txt Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> Traceback (most recent call last): File "", line 1, in ImportError: No module named a >>> $ That i was expected : $python > Normal.txt 2> Error.txt import a $cat Normal.txt Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> $cat Error.txt Traceback (most recent call last): File "", line 1, in ImportError: No module named a $ -- status: pending -> open ___ Python tracker <https://bugs.python.org/issue33411> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com