tangled
alpha
login
or
join now
zzstoatzz.io
/
scripts
0
fork
atom
for assorted things
0
fork
atom
overview
issues
pulls
pipelines
event loop
zzstoatzz.io
10 months ago
f58b6887
238e88f6
+6
1 changed file
expand all
collapse all
unified
split
kill-processes
+6
kill-processes
···
23
import marvin
24
import hashlib
25
import json
0
26
from pathlib import Path
27
from cachetools import TTLCache
28
from textual.app import App, ComposeResult
···
349
350
351
if __name__ == "__main__":
0
0
0
0
0
352
ProcessTUI().run()
···
23
import marvin
24
import hashlib
25
import json
26
+
import asyncio
27
from pathlib import Path
28
from cachetools import TTLCache
29
from textual.app import App, ComposeResult
···
350
351
352
if __name__ == "__main__":
353
+
try:
354
+
loop = asyncio.get_event_loop()
355
+
except RuntimeError:
356
+
loop = asyncio.new_event_loop()
357
+
asyncio.set_event_loop(loop)
358
ProcessTUI().run()