from asyncio import run
from subprocess_tee import run as tee
async def foo():
tee(['notepad.exe', 'test2.py'], shell=False) # RuntimeError: asyncio.run() cannot be called from a running event loop
run(foo())
Until this is resolved it should be documented as a limitation.