cli/pkg/findsh/find.go
Mislav Marohnić d02f184bd1 go fmt
2021-12-02 16:12:24 +01:00

11 lines
186 B
Go

//go:build !windows
// +build !windows
package findsh
import "os/exec"
// Find locates the `sh` interpreter on the system.
func Find() (string, error) {
return exec.LookPath("sh")
}