| ▲ | kstrauser 12 hours ago | |||||||
You can always set shell=True and pass in an entire command line as a string, but… don’t do that. It seems really nice until the first time you get the shell escaping wrong, and then it’s something you tend never to do again. For example,
and
have significant different behavior. | ||||||||
| ▲ | lgas 6 hours ago | parent [-] | |||||||
What is the difference in behavior? They both look like they would delete the user's home directory. I assume the latter would try to delete a directory literally named with a tilde instead? | ||||||||
| ||||||||