[issue37790] subprocess.Popen() is extremely slow

Alexander Pyhalov report at bugs.python.org
Fri Aug 16 22:53:20 EDT 2019


Alexander Pyhalov <apyhalov at gmail.com> added the comment:

Even if I use 
                        import subprocess
                        process = subprocess.Popen(cmd,
                                stdout=subprocess.PIPE,
                                stderr=subprocess.PIPE,
                                shell=True,
                                universal_newlines=True)
                        return process.stdout.read()
difference in times are the same.

----------

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


More information about the Python-bugs-list mailing list