Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

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


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


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: