This commit is contained in:
Shane C 2024-07-10 21:47:50 -04:00
parent f627fde186
commit 3e5b7f99fc
Signed by: shane
GPG key ID: E46B5FEA35B22FF9

View file

@ -12,6 +12,8 @@ import (
func (cmd *LinuxCommand) isCommandExecutable(command string) (bool, error) {
fmt.Println(command)
whichOut, err := cmd2.Which(command, cmd2.BasicOptions{
Env: cmd.Options.Env,
Sources: cmd.Options.Sources,