Y
Hacker News
new
|
ask
|
show
|
jobs
by
ben509
2167 days 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.
1 comments
aflag
2167 days ago
There are libraries that fix that:
https://pypi.org/project/sh/
if you are in position to use external libraries.
link