Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.
This repository was archived by the owner on May 15, 2026. It is now read-only.

[BUG] Roo Code CANNOT get the correct return code from commands running in vscode terminal #11044

Description

@nicky-zs

Problem (one or two sentences)

Roo Code run a command in VSCode Terminal. The command returned with code 1, but Roo Code always believe the return code is 0.

Context (who is affected and when)

Almost always. The command is executed in VSCode Terminal (I always use VSCode Terminal because the runtime envioronment is prepared by VSCode, for example, python interpreter is decided by VSCode).

Reproduction steps

  1. Roo Code triggers a command execution in VSCode terminal
  2. if the command fails with a non-zero return code, Roo Code thinks it succeed with return code 0

Expected result

Roo Code knows the failure of the execution

Actual result

Roo Code mistakenly believes ​the execution is succeed

Variations tried (optional)

No response

App Version

Version: 3.45.0 (35d282b)

API Provider (optional)

None

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions