use direct syscall package
This commit is contained in:
parent
296f430cc8
commit
c57803a6cd
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "golang.org/x/sys/windows"
|
import "syscall"
|
||||||
|
|
||||||
func localExec(argv0 string, argv []string, envv []string) error {
|
func localExec(argv0 string, argv []string, envv []string) error {
|
||||||
return windows.Exec(argv0, argv, envv)
|
return syscall.Exec(argv0, argv, envv)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue