Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
daenz
on Sept 17, 2012
|
parent
|
context
|
favorite
| on:
Sh.py
import sh git = sh.Command("/usr/bin/git")
the Command object takes a full path, but you can use it together with sh's "which":
import sh git = sh.Command(sh.which("git"))
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: