ci: fix for os.execvp on macos

pull/7668/head
Delyan Angelov 2020-12-28 20:01:19 +02:00
parent ef786f9a75
commit a8b2745019
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -881,7 +881,7 @@ pub fn execvp(cmdpath string, args []string) ? {
cargs << args[i].str
}
cargs << charptr(0)
res := C.execvp(cmdpath.str, cargs.data)
res := C.execvp(charptr(cmdpath.str), cargs.data)
if res == -1 {
return error(posix_get_error_msg(C.errno))
}