kennethreitz/goldenarch — pull request #5 by nickstenning (2012-05-25 12:00:12+00:00)
Title: Use os.execvp() rather than os.system()

This change causes goldenarch to use the `execvp` syscall to start gunicorn rather than `os.system()`. At the moment, even if you can successfully kill the main goldenarch process, gunicorn (and it's worker threads) often keep running, requiring a `pkill python` or similar. This resolves this issue by replacing the main process with the gunicorn process, delegating all signal handling to gunicorn.