This commit is contained in:
parent
6fda03fade
commit
bc785524a5
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ func Exec(file *os.File) error {
|
||||||
|
|
||||||
_, _, errno := syscall.Syscall6(
|
_, _, errno := syscall.Syscall6(
|
||||||
unix.SYS_EXECVEAT,
|
unix.SYS_EXECVEAT,
|
||||||
uintptr(file.Fd()),
|
file.Fd(),
|
||||||
uintptr(unsafe.Pointer(empty)),
|
uintptr(unsafe.Pointer(empty)),
|
||||||
uintptr(unsafe.Pointer(&argvp[0])),
|
uintptr(unsafe.Pointer(&argvp[0])),
|
||||||
uintptr(unsafe.Pointer(&envvp[0])),
|
uintptr(unsafe.Pointer(&envvp[0])),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue