Merge pull request #195 from thaJeztah/better_exec

Use golang.org/x/sys/execabs instead of os/exec
This commit is contained in:
Kevin Parsons
2021-02-10 00:38:31 -08:00
committed by GitHub
+2 -1
View File
@@ -3,11 +3,12 @@ package security
import (
"io/ioutil"
"os"
"os/exec"
"path/filepath"
"regexp"
"strings"
"testing"
exec "golang.org/x/sys/execabs"
)
// TestGrantVmGroupAccess verifies for the three case of a file, a directory,