include/vlc_spawn.h:36: warning: argument 'path' of command @param is not found in the argument list of vlc_spawn(pid_t *pid, const char *file, const int *fdv, const char *const *argv)
include/vlc_spawn.h:36: warning: The following parameter of vlc_spawn(pid_t *pid, const char *file, const int *fdv, const char *const *argv) is not documented:
parameter 'file'
It is currently unspecified what happens if the process does not exit
cleanly, so clarify that. Since this can actually happen, the
documentation ought to state what the result is to some extent.
This adds vlc_spawn(), vlc_spawnp() and vlc_waitpid() to factor the
common code around the posix_spawn() family. It is added as part of
the plugin API so that core code can use it (namely vlc_getProxyUrl()),
which would not be possible with a shared C source in modules/.
Win32 back-end may be provided later, e.g. based on old vlc_execve()
implementation, if/when this actually gets used on Windows.