mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix for os.execvp on macos
This commit is contained in:
parent
ef786f9a75
commit
a8b2745019
@ -881,7 +881,7 @@ pub fn execvp(cmdpath string, args []string) ? {
|
|||||||
cargs << args[i].str
|
cargs << args[i].str
|
||||||
}
|
}
|
||||||
cargs << charptr(0)
|
cargs << charptr(0)
|
||||||
res := C.execvp(cmdpath.str, cargs.data)
|
res := C.execvp(charptr(cmdpath.str), cargs.data)
|
||||||
if res == -1 {
|
if res == -1 {
|
||||||
return error(posix_get_error_msg(C.errno))
|
return error(posix_get_error_msg(C.errno))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user