4 ms·
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
by ben509 6y ago
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.
- aflag 6y agoThere are libraries that fix that: https://pypi.org/project/sh/ https://pypi.org/project/sh/ if you are in position to use external libraries.