Skip to content

Windows Beta: Processes fork infinitely or fail to start when Python and Node.js runtimes are installed with Mise #39448

@yjoer

Description

@yjoer

Summary

Processes fork infinitely or fail to start when Python and Node.js runtimes are installed with Mise

Description

Python and Node.js runtimes are managed through Mise, with shims configured in symlink mode. In this setup, executables like npm.exe and python.exe are symlinks that point to the mise.exe binary, and the directory containing these shims is included in the system PATH.

Steps to trigger the problem:

  1. Start Zed Nightly
  2. Open a Python file
  3. The focus shifts to the terminal running Mise exited with code 1
zed-python.mp4
  1. Start Zed Nightly on a directory prepared with uv init && uv venv
  2. Open a Python file
  3. The focus shifts to the terminal running Mise exited with code 1
  4. Activate the virtual environment selector
  5. The focus shifts to the terminal running Mise exited with code 1
zed-venv.mp4
  1. Start Zed Nightly
  2. Open a JavaScript file
  3. See "Downloading eslint..." running forever
  4. Observe that npm processes are started infinitely in Process Explorer
zed-npm.mp4
Image

Running the command directly in the terminal returns the correct result.
Image

Expected Behavior: All of the above shouldn't happen

Zed Version and System Specs

Zed: v0.208.0 (Zed Nightly e4f90b5)
OS: Windows 10.0.19045
Memory: 15.9 GiB
Architecture: x86_64
GPU: NVIDIA GeForce GTX 765M || NVIDIA Corporation || 425.31 r419_50

Metadata

Metadata

Assignees

Labels

platform:windowshappens only on Windows, not other OSstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions