3 ms·
What's wrong with Python and the subprocess module? It is exactly what I advise.
by remram 4y ago
What's wrong with Python and the subprocess module? It is exactly what I advise.
- travisjungroth 4y agoIf you have a single command it’s fine. Not great because of the list syntax, but fine. But I’ve found when I’m doing shell commands and using Python as glue, the Python takes up most of the script while doing barely any of the work. Don’t get me wrong, I like Python more and can barely write shell (ChatGPT/Copilot has made it easy). But it is not as convenient for calling and piping commands as shell.