logoalt Hacker News

thwarted • today at 2:11 PM • 1 reply • view on HN

In that case, you're not running a "shell command" from python, you're passing arguments to exec. A shell command would be a string interpreted by the shell, and you'd use that for shell syntax things like having the shell do variable interpolation or redirections as part of executing the command.


Replies

ziiinq • today at 3:56 PM

[dead]