]> git.ipfire.org Git - thirdparty/tornado.git/commit
autoreload: Improve autoreload wrapper on windows 2393/head
authorBen Darnell <ben@bendarnell.com>
Sun, 20 May 2018 03:28:45 +0000 (23:28 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 20 May 2018 03:36:39 +0000 (23:36 -0400)
commitfeee98fc1293f8a5a006ce7556c8f76a6081dbce
treee8a88b2c9c7989530a5e0eae9c43e34bd3410408
parentf6c4790b46a995b7400219d8e0430adac7f1d62c
autoreload: Improve autoreload wrapper on windows

On platforms without execv(), we must spawn a separate subprocess.
This breaks down when an internal autoreload is firing in a wrapped
process, since the internal reload raises an exception with the
wrapper catches (triggering a second reload and another copy of the
process).
tornado/autoreload.py