mirror of
https://github.com/rwinkhart/go-winio.git
synced 2026-09-05 08:37:37 -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 (
|
import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
exec "golang.org/x/sys/execabs"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestGrantVmGroupAccess verifies for the three case of a file, a directory,
|
// TestGrantVmGroupAccess verifies for the three case of a file, a directory,
|
||||||
|
|||||||
Reference in New Issue
Block a user