Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
godelski
· 3mo ago · 0 comments
That's not really what people mean. Your example isn't accurate because you just ran bash two different ways.
Comments
[–]
akdev1l
3mo ago
subprocess.run() uses Popen and defaults shell=False. There is no shell process involved. As the other user already pointed out.
[–]
zbentley
3mo ago
Huh? The Python example does not use Bash or the shell in any way.