New submission from Edward Pratt <epratt8...@gmail.com>:
I am looking for a string inside of a process, and it seems that the output of the check_output command depends on the screen size of the terminal I run the code in. Here I ran the code with a normal screen resolution: >>> result = subprocess.check_output(['ps', 'aux']).decode('ascii', >>> errors='ignore') >>> 'app-id' in result False Then I zoom out to the point where I can barely read the text on the screen, and this is the output I get: >>> result = subprocess.check_output(['ps', 'aux']).decode('ascii', >>> errors='ignore') >>> 'app-id' in result True ---------- components: Demos and Tools messages: 328371 nosy: epsolos priority: normal severity: normal status: open title: subprocess output seems to depend on size of terminal screen type: behavior versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35060> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com