[server] added WIFEXITED(status) check for external commands run via execvpe()
[server] have run_extcmd() collect process exit status for calling function (in addition to return value)