Skip to content

Terminal mishandles compound commandsΒ #7430

@pwilkin

Description

@pwilkin

App Version

3.25.23

API Provider

Not Applicable / Other

Model Used

N/A

Roo Code Task Links (Optional)

No response

πŸ” Steps to Reproduce

Start a task and make the LLM use a compound terminal command, where the output is generated by the second part. (by compound command I mean a command that uses an additional process spawning operator, such as Linux's &&, the most typical example in my cases being cd dir && run test)

πŸ’₯ Outcome Summary

The LLM does not see the output of the command. The TerminalRegistry reports an error with no process running for the terminal. Moreover, a new terminal is spawned every time this happens.

πŸ“„ Relevant Logs or Errors (Optional)

console.ts:137 [Extension Host] [onDidEndTerminalShellExecution] 
Object
log.ts:460   ERR [Extension Host] [TerminalRegistry] Shell execution end event received, but process is not running for terminal: 
Object
console.ts:137 [Extension Host] [TerminalRegistry] Shell execution end event received, but process is not running for terminal: 
Object

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions