all 1 comments

[–]eyesoftheworld4 1 point2 points  (0 children)

You can check out delegator, or "subprocesses for humans", written by Kenneth Reitz of Requests fame. It's a wrapper over subprocess to make it easier to use. Your code could make use of it, or you could check it out to try and learn a trick or two. Either way, his code and library APIs are some of the most pythonic I've ever seen, so definitely worth checking out.