logoalt Hacker News

godelskiyesterday at 3:47 PM2 repliesview on HN

That's not really what people mean. Your example isn't accurate because you just ran bash two different ways.


Replies

akdev1lyesterday at 8:21 PM

subprocess.run() uses Popen and defaults shell=False. There is no shell process involved. As the other user already pointed out.

zbentleyyesterday at 5:43 PM

Huh? The Python example does not use Bash or the shell in any way.