Ensure binary is resolved wrt $PATH in virExec
virExec would only resolved the binary to $PATH if no env variables were being set. Since there is no execvep() API in POSIX, we use virFindFileInPath to manually resolve the binary and then use execv() instead of execvp().
Showing
想要评论请 注册 或 登录