from _typeshed import Incomplete

def run(
    command,
    timeout: int = 30,
    withexitstatus: bool = False,
    events: Incomplete | None = None,
    extra_args: Incomplete | None = None,
    logfile: Incomplete | None = None,
    cwd: Incomplete | None = None,
    env: Incomplete | None = None,
    **kwargs,
): ...
def runu(
    command,
    timeout: int = 30,
    withexitstatus: bool = False,
    events: Incomplete | None = None,
    extra_args: Incomplete | None = None,
    logfile: Incomplete | None = None,
    cwd: Incomplete | None = None,
    env: Incomplete | None = None,
    **kwargs,
): ...
