async def METHOD_NAME(command: str, timeout: float | None = None) -> CommandResult:
    """
    Does not raise Exception
    """
    proc = await asyncio.create_subprocess_shell(
        command,
        stdout=asyncio.subprocess.PIPE,
        stderr=asyncio.subprocess.STDOUT,
        # NOTE that stdout/stderr together. Might want to separate them?
    )
    start = time.time()
    try:
        stdout, _ = await asyncio.wait_for(proc.communicate(), timeout=timeout)
    except asyncio.TimeoutError:
        proc.terminate()
        _close_transport(proc)
        # The SIGTERM signal is a generic signal used to cause program termination.
        # Unlike SIGKILL, this signal can be **blocked, handled, and ignored**.
        # It is the normal way to politely ask a program to terminate, i.e. giving
        # the opportunity to the underying process to perform graceful shutdown
        # (i.e. run shutdown events and cleanup tasks)
        #
        # SEE https://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html
        #
        # There is a chance that the launched process ignores SIGTERM
        # in that case, it would proc.wait() forever. This code will be
        # used only to run docker compose CLI which behaves well. Nonetheless,
        # we add here some asserts.
        assert await proc.wait() == -signal.SIGTERM  # nosec
        assert not psutil.pid_exists(proc.pid)  # nosec
        logger.warning(
            "Process %s timed out after %ss",
            f"{command=!r}",
            f"{timeout=}",
        )
        return CommandResult(
            success=False,
            message=f"Execution timed out after {timeout} secs",
            command=f"{command}",
            elapsed=time.time() - start,
        )
    except Exception as err:  # pylint: disable=broad-except
        error_code = create_error_code(err)
        logger.exception(
            "Process with %s failed unexpectedly [%s]",
            f"{command=!r}",
            f"{error_code}",
            extra={"error_code": error_code},
        )
        return CommandResult(
            success=False,
            message=f"Unexpected error [{error_code}]",
            command=f"{command}",
            elapsed=time.time() - start,
        )
    # no exceptions
    return CommandResult(
        success=proc.returncode == os.EX_OK,
        message=stdout.decode(),
        command=f"{command}",
        elapsed=time.time() - start,
    )