Skip to content

(🐞) Doesn't work from async code  #105

Description

@KotlinIsland
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions