From cd596b6ecabe9e45550498c2b894e13bdac57931 Mon Sep 17 00:00:00 2001 From: Victor Castell Date: Sat, 9 Dec 2023 18:18:45 +0100 Subject: [PATCH] Remove syscall (#1435) (cherry picked from commit 322a02667544f3b4794df8a4f409a6b1f44dcdf3) --- builtin/bins/dkron-executor-shell/shell_windows.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/builtin/bins/dkron-executor-shell/shell_windows.go b/builtin/bins/dkron-executor-shell/shell_windows.go index 1c895605a..be052c894 100644 --- a/builtin/bins/dkron-executor-shell/shell_windows.go +++ b/builtin/bins/dkron-executor-shell/shell_windows.go @@ -11,7 +11,6 @@ import ( "os/exec" "strconv" "strings" - "syscall" "time" "github.com/armon/circbuf" @@ -73,7 +72,6 @@ func (s *Shell) ExecuteImpl(args *dktypes.ExecuteRequest, cb dkplugin.StatusHelp if err != nil { return nil, errors.New("shell: Error parsing job timeout") } - cmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true} } log.Printf("shell: going to run %s", command)