[#util-ExecVp] = xref:util.adoc[util]::ExecVp :relfileprefix: ../ :mrdocs: Cross‐platform wrapper for POSIX execvp function. Arguments and return value are the same as for POSIX execvp, and the argv array should consist of null terminated strings and be null terminated itself, like the POSIX function. == Synopsis Declared in `<util/exec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ExecVp( char const* file, char const* argv[]); ---- == Return Value The execvp return value; only returns on failure. == Parameters [cols="1,4"] |=== | Name| Description | *file* | The file to execute, resolved via PATH as in execvp. | *argv* | The null‐terminated argument array passed to the program. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#