use direct syscall package

This commit is contained in:
Kevin Burke 2019-02-18 11:00:12 -08:00
parent 296f430cc8
commit c57803a6cd
No known key found for this signature in database
GPG Key ID: 24B0EF06511BA263
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
package main
import "golang.org/x/sys/windows"
import "syscall"
func localExec(argv0 string, argv []string, envv []string) error {
return windows.Exec(argv0, argv, envv)
return syscall.Exec(argv0, argv, envv)
}