Skip to content

Lando commands fail silently when run from a code-server terminal #3306

Closed
@tanc

Description

@tanc

OS/Web Information

  • Web Browser: Edge, Safari (iOS)
  • Local OS: Windows, iPadOS
  • Remote OS: Windows 10
  • Remote Architecture: WSL2 running Ubuntu 20.04, ZSH (same issue with Bash)
  • code-server --version: 3.9.3 fe2dc2deb08e378069891b622bb62ad1d261d1b1

Problem description

For reasons I don't understand, a single specific terminal command won't run (silently fails) when executed under code-server's terminal. This does not happen in the 'normal' terminal and does not happen in VS Code's terminal. They are all using exactly the same system (confirmed but entering a command in one, then cycling back through the history in another and confirmed the same commands are executed).

Steps to Reproduce

  1. Install Lando
  2. Run lando version in any terminal (except the terminal of code server) and confirm there is output
  3. Open code server and enter lando version in the terminal and confirm there is no output

Expected

Terminal should output:

$ lando version
$ v3.1.2

Actual

There is no output after running the command:

$ lando version

An exit code of 4 is shown if $? is entered afterwards

Logs

I ran:

code-server --log debug
and entered the command in the terminal.

1. The most recent files from ~/.local/share/code-server/coder-logs - **There are two files here (stderr, stdout), both empty.**
2. The browser console. **Attached in logs.zip below**
3. The browser network tab. **Attached in logs.zip below**

logs.zip

Screenshot

lando version in the WSL2 terminal:
image

lando version in the code-server terminal:
image

Notes

This issue can be reproduced in VS Code: No, the issue does not happen in VS Code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions