Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ben509
on July 8, 2020
|
parent
|
context
|
favorite
| on:
Help Message for Shell Scripts
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
on July 8, 2020
[–]
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: