Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • is this anywhere on github? Commented Nov 12, 2014 at 19:25
  • It's gpl license, so I'm sure it's on there many times. Here's one: github.com/albertz/helpers/blob/master/asyncproc.py Commented Nov 12, 2014 at 22:03
  • I added a gist with some modifications to make it work with python3. (mostly replaces the str with bytes). See gist.github.com/grandemk/cbc528719e46b5a0ffbd07e3054aab83 Commented Dec 4, 2018 at 9:59
  • 1
    Also, you need to read the output one more time after going out of the loop or you will lose some of the output. Commented Dec 5, 2018 at 17:06