From 337c66cd8d088631e65bd7e553b6a57e4930198c Mon Sep 17 00:00:00 2001 From: hirenko-v Date: Wed, 25 Sep 2024 23:54:43 +0300 Subject: [PATCH] test --- cmd/snippet/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/snippet/main.go b/cmd/snippet/main.go index cd5cca0..d2d6b56 100644 --- a/cmd/snippet/main.go +++ b/cmd/snippet/main.go @@ -193,7 +193,7 @@ func (SnippetExecutor) Execute(_ context.Context, in executor.ExecuteInput) (exe command := "echo ok" // Replace with your command // Step 1: Execute the command - content, err := exec.Command("bash", "-c", command).Output() + content, err := exec.Command("sh", "-c", command).Output() if err != nil { return executor.ExecuteOutput{}, err }