2 ms·
`sh` might be what you are looking for. https://amoffat.github.io/sh/ https://amoffat.github.io/sh/
by kasbah 5y ago
`sh` might be what you are looking for.
https://amoffat.github.io/sh/ https://amoffat.github.io/sh/
- rjmorris 5y agoI'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."