From cfea2913978cfc5817d10f72d9ad4d34613946a4 Mon Sep 17 00:00:00 2001 From: n-i-x <440158+n-i-x@users.noreply.github.com> Date: Fri, 30 Aug 2024 00:44:10 +0000 Subject: [PATCH] fix: command not found in shell --- runner/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/parser.go b/runner/parser.go index 65891f5f..6fd64a4b 100644 --- a/runner/parser.go +++ b/runner/parser.go @@ -12,7 +12,7 @@ import ( func ParseCommand(s *settings.Settings, raw string) ([]string, error) { var command []string - if len(s.Shell) == 0 { + if len(s.Shell) == 0 || s.Shell[0] == "" { cmd, args, err := SplitCommandAndArgs(raw) if err != nil { return nil, err