LibCore: Make Process::wait_for_termination return exit code

This commit is contained in:
stasoid 2024-11-18 06:18:40 +05:00 committed by Andrew Kaster
commit 866609c682
Notes: github-actions[bot] 2024-11-19 22:28:23 +00:00
3 changed files with 8 additions and 9 deletions

View file

@ -79,8 +79,7 @@ public:
ErrorOr<void> disown();
#endif
// FIXME: Make it return an exit code.
ErrorOr<bool> wait_for_termination();
ErrorOr<int> wait_for_termination();
private:
#ifndef AK_OS_WINDOWS