INNER CODE UNIT · Python

last

renezander030/capcut-cli · python/capcut/__init__.py:178

    last = text.splitlines()[-1].strip()
    try:
        return json.loads(last)
    except ValueError:
        return None


def run_raw(
    cmd: str,
    *args: Any,
    human: bool = False,
    timeout: Optional[float] = None,
    cwd: Optional[str] = None,
    input: Optional[str] = None,
    **flags: Any,
) -> Result:
    """Run one command and return the :class:`Result` whatever the exit status.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…