Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python is surprisingly bad at managing subprocesses, though. Read the subprocess docs closely, it's quite easy to get deadlocks if you try to compose operations the way you can in bash.


There are libraries that fix that: https://pypi.org/project/sh/ if you are in position to use external libraries.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: