Skip to content

read_process_output tool to handle completed PID output #195

@krishnashed

Description

@krishnashed

Lets assume desktop commander mcp runs
start_process tool with command 'g++ -o validator ./codeforces_problems/variable_edge_dijkstra/validator.cpp -std=c++17 -02'

as this is just compilation of a c++ code, it gets completed instantaneously, after this step, llm always calls read_process_output, to find what happened in the process with particular PID, but it wont find the PID, as it has completed its execution, and it will fail the tool with below error,

Tool 'read_process_output' exceeded max retries count of 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions