[New-bugs-announce] [issue22441] Not all attributes of the console for a subprocess with creationflags=0 are inherited
Sworddragon
report at bugs.python.org
Fri Sep 19 14:27:06 CEST 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue22441>
_______________________________________
More information about the New-bugs-announce
mailing list