mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 13:12:35 +02:00
...
This commit is contained in:
parent
24c3f48788
commit
673eee9f5a
1 changed files with 1 additions and 0 deletions
|
|
@ -217,6 +217,7 @@ def restart(self):
|
|||
try:
|
||||
compile_srv()
|
||||
except EnvironmentError:
|
||||
time.sleep(0.1)
|
||||
compile_srv() # Happens if the editor deletes and replaces a file being edited
|
||||
self.p = subprocess.Popen(self.cmd, creationflags=getattr(subprocess, 'CREATE_NEW_PROCESS_GROUP', 0))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue