News for hackers. Stuff that matters.
Re:Help Message for Shell Scripts by ben509 on Tuesday July 07, 2020 @08:19PM (#23765767)
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.
Re:Help Message for Shell Scripts by aflag on Tuesday July 07, 2020 @09:22PM (#23766050)
There are libraries that fix that: https://pypi.org/project/sh/ if you are in position to use external libraries.