Pyinotify behaves oddly when the stdio file descriptors are closed.
authorDiane Trout <diane@caltech.edu>
Fri, 5 Jun 2009 00:32:00 +0000 (00:32 +0000)
committerDiane Trout <diane@caltech.edu>
Fri, 5 Jun 2009 00:32:00 +0000 (00:32 +0000)
commit31008ca04cf70aa4d40a0ed3dbd37e131931367e
tree6c4a221a1339d4034fc2d0a8ede9c57c3081f7a8
parente7e5dbca1dd12bbf0246f6ea3a323c395479867a
Pyinotify behaves oddly when the stdio file descriptors are closed.
so don't initialize it until after the daemonize code has been
called. this means after BenderJab.start has been called.
(So I changed from SpoolWatcher.start to SpoolWatcher.run
and moved the watch manager configuration into the
start of run)
htsworkflow/automation/spoolwatcher.py