Closed rasup closed 6 years ago
script.py:
pidfile = PidFile(allow_samepid=True) pidfile.create() while True: time.sleep(1)
If I start this script twice I would expect the second create() to raise a PidFileError but it doesn't.
create()
PidFileError
I'm using version 2.1.1
Could you please create a PR with a test for this in our test suite ?
Thanks !
Thanks a lot for the PR and fix !
script.py:
If I start this script twice I would expect the second
create()
to raise aPidFileError
but it doesn't.I'm using version 2.1.1