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