lausfl
lausfl
@rodja do you mean like this? ```python import asyncio asyncio.set_event_loop_policy(asyncio.WindowsProactorEventLoopPolicy()) from nicegui import ui, app def on_packet(packet): print('packet received') async def start_ping(): print(type(asyncio.get_event_loop()).__name__) cmd = ['ping', '127.0.0.1'] proc = await...
It's still using the _WindowsSelectorEventLoop with the guard. I also tried putting all three lines inside the guard, but nothing changes. Is this only happening on my end or can...
@falkoschindler yes, I just tested it with the latest version of nicegui and it still occurs.
@evnchn thanks a lot for the alternative solution. I am closing the issue, as my problem can be solved by using WinLoop.
@evnchn WinLoop works as expected, thanks!