mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix for os.execvp on macos (cargs << charptr(cmdpath.str) too)
This commit is contained in:
parent
8fe85bcc33
commit
fe7fa7077e
@ -876,7 +876,7 @@ pub fn create(path string) ?File {
|
||||
// the child process will take control over execution.
|
||||
pub fn execvp(cmdpath string, args []string) ? {
|
||||
mut cargs := []charptr{}
|
||||
cargs << cmdpath.str
|
||||
cargs << charptr(cmdpath.str)
|
||||
for i in 0 .. args.len {
|
||||
cargs << charptr(args[i].str)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user