New submission from Sworddragon: The application apt-get on Linux does scale its output dependent of the size of the terminal but I have noticed that there are differences if I'm calling apt-get directly or with a subprocess without shell and creationflags set (so that creationflags should be 0). From the documentation subprocess.CREATE_NEW_CONSOLE is not set so that apt-get does inherit the console and normally I would assume that this counts also for all attributes. In the attachments is a testcase for this issue. Also here are 2 screenshots to compare the results:
Direct call: http://picload.org/image/crlrapg/normal.png Subprocess: http://picload.org/image/crlrapd/subprocess.png ---------- components: Library (Lib) files: test.py messages: 227090 nosy: Sworddragon priority: normal severity: normal status: open title: Not all attributes of the console for a subprocess with creationflags=0 are inherited type: behavior versions: Python 3.4 Added file: http://bugs.python.org/file36660/test.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22441> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com