LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-cliexecsubp_exec
    Function●Since v0.1

    subp_exec

    Copy
    subp_exec(
      cmd: str,
      *args: str = (),
      input: str | None =
    View source on GitHub
    None
    ,
    wait
    :
    float
    |
    None
    =
    None
    ,
    verbose
    :
    bool
    =
    False
    ,
    collect
    :
    bool
    =
    False
    ,
    on_stdout
    :
    Callable
    [
    [
    str
    ]
    ,
    bool
    |
    None
    ]
    |
    None
    =
    None
    )
    ->
    tuple
    [
    str
    |
    None
    ,
    str
    |
    None
    ]