Issue 22441: Not all attributes of the console for a subprocess with creationflags=0 are inherited (original) (raw)

Issue22441

Created on 2014-09-19 12:27 by deleted250130, last changed 2022-04-11 14:58 by admin.

Files
File name Uploaded Description Edit
test.py deleted250130,2014-09-20 00:16
Messages (2)
msg227090 - (view) Author: (deleted250130) Date: 2014-09-19 12:27
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
msg227137 - (view) Author: (deleted250130) Date: 2014-09-20 00:21
Edit: Updated testcase as it contained an unneeded argument from an older testcase (in case it confuses somebody).
History
Date User Action Args
2022-04-11 14:58:08 admin set github: 66631
2014-09-20 00:21:54 deleted250130 set messages: +
2014-09-20 00:16:32 deleted250130 set files: + test.py
2014-09-20 00:16:18 deleted250130 set files: - test.py
2014-09-19 12:27:06 deleted250130 create