Open
Description
With the recent changes, subprocess-tee
is using asyncio.run
. However, this call tries to create a new loop, raising an exception:
RuntimeError: asyncio.run() cannot be called from a running event loop
To reproduce, just create a Jupyter notebook with this cell and run:
import subprocess_tee
subprocess_tee.run('sleep 1')
More details at jupyter blog or stackoverflow.