Searched refs:wait_status (Results 1 – 1 of 1) sorted by relevance
111 int wait_status = 0; in RunShellCommand() local114 auto NeedToWaitForChild = [child_pid, &wait_status, &waitpid_ret]() { in RunShellCommand()116 waitpid_ret = waitpid(child_pid, &wait_status, WNOHANG); in RunShellCommand()146 if (waitpid_ret == child_pid && WIFEXITED(wait_status)) { in RunShellCommand()147 return WEXITSTATUS(wait_status); in RunShellCommand()