subprocess.Popen hangs at times?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kenneth McDonald

    subprocess.Popen hangs at times?

    When making calls of the form Popen(cmd, shell=True,
    stdout=subproce ss.PIPE), we've been getting occasional, predictable
    hangs. Will Popen accumulate a certain amount of stdout and then block
    until its read? We don't want to use threads, so just want to read the
    entire stdout after the subprocess has finished.

    Thanks,
    Ken

Working...