Hacker News new | ask | show | jobs
by anonfoobar1 5272 days ago
This seems like an excellent way to write shell scripts in Python. I never consciously realized it before, but I've always wanted something like this. I have a strong distaste for Python's subprocess library; for example Popen.wait() is liable to deadlock under certain conditions http://docs.python.org/library/subprocess.html . It's not immediately clear to me from the source code if this module avoids that pitfall.