From a8b2745019fbecd0eaeb62a9a932244fe13ed37f Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 28 Dec 2020 20:01:19 +0200 Subject: [PATCH] ci: fix for os.execvp on macos --- 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 cd74f92f8e..776b3cff83 100644 --- a/vlib/os/os_c.v +++ b/vlib/os/os_c.v @@ -881,7 +881,7 @@ pub fn execvp(cmdpath string, args []string) ? { cargs << args[i].str } cargs << charptr(0) - res := C.execvp(cmdpath.str, cargs.data) + res := C.execvp(charptr(cmdpath.str), cargs.data) if res == -1 { return error(posix_get_error_msg(C.errno)) }