ai-coding-minesIndexGitHub

`nohup` alone dies when the session ends

Git and automation

Symptom

Launched with nohup ... &; the shell session changed and it was gone. Log cut off mid-line, zero processes.

Cause

Shared hosting's restricted shell reaps child processes when the login session ends.

Fix

setsid nohup python3 script.py args < /dev/null > out.log 2>&1 & disown

Side lesson

Long jobs get all their arguments in one process. Split into several launches and they block each other on the external API's concurrency limit.