mirror of
https://github.com/rwinkhart/go-winio.git
synced 2026-08-28 12:56:33 -04:00
Merge pull request #195 from thaJeztah/better_exec
Use golang.org/x/sys/execabs instead of os/exec
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user