exo-explore/exo · error · RuntimeError

process has not been started

Error message

process has not been started

What it means

Error "process has not been started" thrown in exo-explore/exo.

Source

Thrown at src/exo/utils/async_process.py:144

            raise
        finally:
            try:
                with CancelScope(shield=True):
                    await self._terminate_if_still_alive()
            finally:
                cleanup_stdio_fd()
                for tx in (self._stdout_tx, self._stderr_tx):
                    with contextlib.suppress(Exception):
                        await tx.aclose()
                if self._process is not None:
                    with contextlib.suppress(ValueError):
                        self._process.close()
                self._run_cancel_scope = None
                self._done.set()

    async def stop(self) -> None:
        if self._run_cancel_scope is None and not self._done.is_set():
            raise RuntimeError("process has not been started")
        if self._run_cancel_scope is not None:
            self._run_cancel_scope.cancel()
        await self._done.wait()

    async def aclose(self) -> None:
        await self.stop()

    async def wait(self) -> int:
        if self._exitcode is not None:
            return self._exitcode

        await self._started.wait()
        if self._start_error is not None:
            raise self._start_error
        assert self._process is not None

        while True:
            exitcode = self.exitcode

View on GitHub (pinned to 21a54c5ea0)

When it happens

Trigger: Thrown at src/exo/utils/async_process.py:144 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of exo-explore/exo@21a54c5ea0 (2026-08-26). Data as JSON: /api/errors/3c3c7ab7808fa892. Report an issue: GitHub.