trbs / pid

Pidfile featuring stale detection and file-locking, can also be used as context-manager or decorator

Home Page:https://pypi.python.org/pypi/pid/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Same pid support

kaithar opened this issue · comments

It would be really nice if this checked the pid file content against it's own pid, so that multiple calls within the same process wouldn't fail so badly. My use case is tornado's exec-on-file-change mechanism.

commented

Could please try it this works correctly for you ?