Hacker News new | ask | show | jobs
by rjmorris 1866 days ago
I'm pretty sure sh just runs the commands in a subprocess using the shell, so it isn't like shelljs at all. From the linked page:

"Note that these aren’t Python functions, these are running the binary commands on your system by dynamically resolving your $PATH, much like Bash does, and then wrapping the binary in a function. In this way, all the programs on your system are easily available to you from within Python."