Posts tagged shell
- 29 November 2022
I often run shell commands in Python via the
One thing that has always bugged me is that this required you to split commands into a list before it’d work properly.
For example, you’d have to do:
Today I discovered that you don’t have to do this!
shell= keyword that can be used to tell subprocess to simply run the command directly in the shell.