seb-m / pyinotify

Monitoring filesystems events with inotify on Linux.
http://github.com/seb-m/pyinotify/wiki
MIT License
2.29k stars 377 forks source link

daemonize file open mode change #114

Open ls0f opened 8 years ago

ls0f commented 8 years ago

1) flush before dup2. 2) file open use O_APPEND may be better.

ls0f commented 8 years ago

@seb-m what do you think about using O_APPEND flag .?