Skip to content

Fail to run running bash command with external agent "Claude Code" #39216

@nogo

Description

@nogo

Summary

Claude code tries to run a command like "bunx --bun drizzle-kit generate" but it seem to do this in a different environment.

I'm connect to a WSL2 remote session (Ubuntu). When I use Claude Code CLI everything works fine.

Steps to reproduce:

  1. Open a new AI thread on the right pane with Claude Code
  2. Try to let the command run

Expected Behavior: Command runs as expected
Actual Behavior:

Image

Looks like the command does not run in the right environment.

Zed Version and System Specs

Zed: v0.207.0 (Zed Nightly cc19387)
OS: Windows 10.0.26100
Memory: 63.9 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 3060 || NVIDIA Corporation || 581.29 r581_07

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions