[issue40885] Cannot pipe GzipFile into subprocess

SilentGhost report at bugs.python.org
Sat Jun 6 05:09:24 EDT 2020


SilentGhost <ghost.adh at runbox.com> added the comment:

> subprocess somehow gets a hold of the underlying file descriptor pointing to the compressed file, and ends up being fed the compressed bytes

That is exactly what happens, and I'd wager this is not going to change. You could easily pass the decoded bytes into the process using input parameter.

----------
components: +Library (Lib)
nosy: +SilentGhost, giampaolo.rodola

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40885>
_______________________________________


More information about the Python-bugs-list mailing list