- May 30, 2019, 10:10 a.m.
Thanks for writing the best post on this topic.
My situation was to calling external program on large number of files, which chokes the pipe very quickly. I've tried:
My solution in the end was to use the default stdout and stderr of call(), namely None by Python 3.7.2.
In other words, don't bother with a full list of arguments, simply:
completed = subprocess.call(cmd, shell=True)
with Markdown syntax.
Comments are not displayed until they are approved by a
moderator. Moderators will not approve unless the comment
contributes value to the discussion.