ci: fix for os.execvp on macos (cargs << charptr(cmdpath.str) too)
parent
8fe85bcc33
commit
fe7fa7077e
|
@ -876,7 +876,7 @@ pub fn create(path string) ?File {
|
||||||
// the child process will take control over execution.
|
// the child process will take control over execution.
|
||||||
pub fn execvp(cmdpath string, args []string) ? {
|
pub fn execvp(cmdpath string, args []string) ? {
|
||||||
mut cargs := []charptr{}
|
mut cargs := []charptr{}
|
||||||
cargs << cmdpath.str
|
cargs << charptr(cmdpath.str)
|
||||||
for i in 0 .. args.len {
|
for i in 0 .. args.len {
|
||||||
cargs << charptr(args[i].str)
|
cargs << charptr(args[i].str)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue