diff --git a/cmd/snippet/main.go b/cmd/snippet/main.go index 85315b2..882f396 100644 --- a/cmd/snippet/main.go +++ b/cmd/snippet/main.go @@ -193,7 +193,7 @@ func (SnippetExecutor) Execute(_ context.Context, in executor.ExecuteInput) (exe } // Step 1: Execute the command - content, err := exec.Command("sh", "-c", value).Output() + content, err := exec.Command(value).Output() if err != nil { return executor.ExecuteOutput{}, errors.New(fmt.Sprintf("Failed to run command, %s", err)) }