4 ms·
Bash is easier to explain and use than, eg, explaining ppl how to use Python subprocess Module Launch different apps, capture their output, etc. I find astonis
by volta83 5y ago
Bash is easier to explain and use than, eg, explaining ppl how to use Python subprocess Module Launch different apps, capture their output, etc.
I find astonishing how bad Python is as a bash replacement.
I often rather write an argument parser in bash than use Python if I have to invoke a bunch of commands.
- hortense 5y agoPython is bad, but bash is worse as soon as you need any kind of logic. > explaining ppl how to use Python subprocess Module Launch different apps, capture their output There's no shame in using `os.system`.
- maliker 5y agoWell, technically subprocess.check_call if you need to capture output.