...

Package xexec

import "oss.terrastruct.com/util-go/xexec"
Overview
Index

Overview ▾

func SearchPath

func SearchPath(prefix string) ([]string, error)

SearchPath searches for all executables that have prefix in their names in the directories named by the PATH environment variable.