ci: fix for os.execvp on macos (<<charptr())
parent
4c40891d5e
commit
8fe85bcc33
|
@ -878,7 +878,7 @@ pub fn execvp(cmdpath string, args []string) ? {
|
||||||
mut cargs := []charptr{}
|
mut cargs := []charptr{}
|
||||||
cargs << cmdpath.str
|
cargs << cmdpath.str
|
||||||
for i in 0 .. args.len {
|
for i in 0 .. args.len {
|
||||||
cargs << byteptr(args[i].str)
|
cargs << charptr(args[i].str)
|
||||||
}
|
}
|
||||||
cargs << charptr(0)
|
cargs << charptr(0)
|
||||||
res := C.execvp(charptr(cmdpath.str), cargs.data)
|
res := C.execvp(charptr(cmdpath.str), cargs.data)
|
||||||
|
|
Loading…
Reference in New Issue