Skip to content

Terminal commands fail when $SHELL is set to tcsh due to hardcoded -l shell flag #12378

@MayurKishorKumar

Description

@MayurKishorKumar

Before submitting your bug report

Relevant environment info

- OS: Linux
- Continue version: 1.2.22
- IDE version: VSCode 1.105.1
- Model: Azure OpenAI

Description

When Continue runs a terminal command, it hardcodes the -l (login shell) flag for all Unix shells.
However, tcsh and csh do not support -l as a flag, causing every terminal command to fail immediately.

To reproduce

  1. Have $SHELL set to /bin/tcsh
  2. Open VS Code with Continue installed
  3. Ask Continue to run any basic command e.g. pwd, ls -a, echo hello

Log output

Unknown option: `-l' 
Usage: tcsh [ -bcdefilmnqstvVxX ] [ argument ... ]. 
Command failed with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolsRelates to tool usageide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on Linux

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions