From fe7fa7077ed81d744843f212477534aa4d194d02 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 28 Dec 2020 20:20:56 +0200 Subject: [PATCH] ci: fix for os.execvp on macos (cargs << charptr(cmdpath.str) too) --- vlib/os/os_c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/os/os_c.v b/vlib/os/os_c.v index a4b3ab6414..016fb64dec 100644 --- a/vlib/os/os_c.v +++ b/vlib/os/os_c.v @@ -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) }