From 3e7902f7d790a486d3d9cb978df193f07f3a6ad9 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Sun, 29 Jun 2025 20:29:50 +0100 Subject: finish macOS support --- nihil.posix/process.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nihil.posix/process.cc') diff --git a/nihil.posix/process.cc b/nihil.posix/process.cc index 70e84b7..02642bc 100644 --- a/nihil.posix/process.cc +++ b/nihil.posix/process.cc @@ -85,7 +85,7 @@ auto process::pid(this process const &self) noexcept -> ::pid_t auto process::wait(this process &&self) -> std::expected { auto status = int{}; - auto ret = waitpid(self.m_pid, &status, WEXITED); + auto ret = waitpid(self.m_pid, &status, 0); if (ret == -1) return std::unexpected(error(std::errc(errno))); -- cgit v1.2.3