Hacker News new | ask | show | jobs
by azkae 1775 days ago
Somewhat related, if you are looking to do scripts in Python you should take a look at `sh`:

  import sh
  print(sh.ifconfig("eth0"))
https://amoffat.github.io/sh/
2 comments

https://amoffat.github.io/sh/sections/faq.html

> Will Windows be supported?

> There are no plans to support Windows.

Is this the ergonomic `subprocess.Popen` alternative?
Yes this wraps subprocess.Popen in a nice API.