ci: fix for os.execvp on macos (<<)

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

View File

@ -878,7 +878,7 @@ pub fn execvp(cmdpath string, args []string) ? {
mut cargs := []charptr{}
cargs << cmdpath.str
for i in 0 .. args.len {
cargs << args[i].str
cargs << byteptr(args[i].str)
}
cargs << charptr(0)
res := C.execvp(charptr(cmdpath.str), cargs.data)