News for hackers. Stuff that matters.
Re:Sh.py by daenz on Monday September 17, 2012 @02:56PM (#4534206)

    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"))

There are no comments on this comment yet.