Files
ArchiveBox/archivebox/core
Claude 524e8e98c3 Capture exit codes and stderr from background hooks
Extended graceful_terminate_background_hooks() to:
- Reap processes with os.waitpid() to get exit codes
- Write returncode to .returncode file for update_from_output()
- Return detailed result dict with status, returncode, and pid

Updated update_from_output() to:
- Read .returncode and .stderr.log files
- Determine status from returncode if no ArchiveResult JSONL record
- Include stderr in output_str for failed hooks
- Handle signal termination (negative returncodes like -9 for SIGKILL)
- Clean up .returncode files along with other hook output files
2025-12-31 09:23:41 +00:00
..
2025-12-30 10:30:52 -08:00
wip
2025-12-28 17:51:54 -08:00
wip
2025-12-28 17:51:54 -08:00
wip
2025-12-28 17:51:54 -08:00
2025-12-29 04:02:11 -08:00
wip
2025-12-28 17:51:54 -08:00
2025-12-30 16:12:53 -08:00
wip
2025-12-28 17:51:54 -08:00
2025-12-29 04:02:11 -08:00
2025-12-29 21:27:31 -08:00