Changes between Initial Version and Version 1 of Ticket #7049
- Timestamp:
- Mar 25, 2008, 10:20:07 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7049 – Description
initial v1 1 1 When using --daemonize and --auto-reload at the same time the background daemon process exits neatly without any explanation. Having done some digging around, it seems that the root of the problem is in _restart_with_reloader() at utils/autoreload.py line 55. When os.spawnve is called, it uses the full sys.argv which includes the --daemonize argument. My fix for this is: 2 2 3 eng:util qa$ diff -c autoreload.py autoreload.py.save 4 {{{ 3 5 *** autoreload.py Tue Mar 25 16:52:18 2008 4 6 --- autoreload.py.save Tue Mar 25 16:14:51 2008 … … 15 17 new_environ = os.environ.copy() 16 18 --- 55,60 ---- 19 }}} 17 20 eng:util qa$ 18 21