take exit code before closing process handle

This commit is contained in:
Nikita Smith
2026-04-06 12:17:25 -07:00
parent 8cc8986197
commit 890f7afccc
2 changed files with 4 additions and 6 deletions
-2
View File
@@ -209,8 +209,6 @@ t_invoke_(String8 exe_path, String8 cmdline, U64 timeout, Arena *output_arena, S
} else {
os_process_kill(process_handle);
}
os_process_detach(process_handle);
}
scratch_end(scratch);