diff --git a/agent/script/generic_script.go b/agent/script/generic_script.go index 10b7cd9f3..acbed7f73 100644 --- a/agent/script/generic_script.go +++ b/agent/script/generic_script.go @@ -84,6 +84,7 @@ func (s GenericScript) Run() error { command := cmd.BuildCommand(s.path) command.Stdout = stdoutFile command.Stderr = stderrFile + command.SpawnWithLowerPriority = true for key, val := range s.env { command.Env[key] = val