Issue 1675026: Redirect cause invalid descriptor error (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/44666
classification
Title: | Redirect cause invalid descriptor error | ||
---|---|---|---|
Type: | enhancement | Stage: | test needed |
Components: | Documentation, Windows | Versions: | Python 3.0, Python 2.6 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | 1590068 | Superseder: | |
Assigned To: | georg.brandl | Nosy List: | ajaksu2, georg.brandl, jmranger, loewis, theller |
Priority: | normal | Keywords: |
Created on 2007-03-06 15:58 by jmranger, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (6) | ||
---|---|---|
msg31437 - (view) | Author: Jean-Marc Ranger (jmranger) | Date: 2007-03-06 15:58 |
Test setup: - Windows 2000 (french) - Python 2.5 (reproducible with 2.4.2 and 2.4.4) One python source file, test.py: --- import os print os.system("echo test") --- Console output: --- C:\test>test.py test 0 C:\test>test.py > test.log Descripteur non valide C:\test>type test.log 0 C:\test>c:\python25\python test.py test 0 C:\test>c:\python25\python test.py > test.log C:\test>type test.log test 0 C:\test> --- The "Descripteur non valide" error would translate to "invalid file descriptor". I would expect the 2nd call to perform the same way the 4th does. | ||
msg31438 - (view) | Author: Martin v. Löwis (loewis) * ![]() |
Date: 2007-03-09 07:10 |
Do you have an explanation for the cause of the problem? | ||
msg31439 - (view) | Author: Thomas Heller (theller) * ![]() |
Date: 2007-03-09 08:25 |
This is a windows bug. See the Microsoft Knowledge Base: http://support.microsoft.com/kb/321788 This entry talks about Windows 2000. I do not use Windows 2000 anymore, so I cannot test on this version. I have created the registry entry that is mentioned on WinXP SP2 (German version, fwiw), and it does fix the problem. I had to open a new command window after changing the registry. | ||
msg31440 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2007-03-09 10:16 |
So we can do nothing about the bug, but we should definitely document that somewhere and link to the Knowledge Base. What would be the correct location? | ||
msg84676 - (view) | Author: Daniel Diniz (ajaksu2) * ![]() |
Date: 2009-03-30 22:08 |
Issue 1590068 seems to be the same problem. | ||
msg84924 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2009-03-31 21:43 |
Documented in README in r70902. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:22 | admin | set | github: 44666 |
2009-03-31 21:43:57 | georg.brandl | set | status: open -> closedresolution: fixedmessages: + |
2009-03-31 19:40:14 | georg.brandl | link | issue1590068 superseder |
2009-03-30 22:08:41 | ajaksu2 | set | assignee: georg.brandldependencies: + Error piping output between scripts on Windowstype: enhancementcomponents: + Documentationversions: + Python 2.6, Python 3.0, - Python 2.5nosy: + ajaksu2messages: + stage: test needed |
2007-03-06 15:58:14 | jmranger | create |