Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
CatMtKing
· 13y ago · 0 comments
Wow, that's a neat library. You can just import any program and use it like a function (from sh import grep)! Thanks for the link. Also, sh documentation:
http://amoffat.github.io/sh/
Comments
[–]
bashinator
13y ago
Yeah, it's replaced just a ton of boilerplate `def run(*args):` functions wrapping Popen. I couldn't be happier.
[–]
mkarttic
13y ago
i use Sh to interface with my cmus player. from sh import cmus_remote! :)