Skip to content

Executing commands shimmed with "asdf" hangs #224

@dpolombo

Description

@dpolombo

Describe the bug

On MacOS 26, Whenever I ask the CLI to run a command that is installed via asdf (runtime version manager), the command hangs. Tested with python, terraform, and kubectl. The same commands work when run in Copilot extension for VSCode in agent mode.

For example with Python, using an asdf-managed version :
`> python -V
✓ Check Python version
$ python -V

<waiting for command with sessionId: python to exit timed out after 30 seconds.
try again with read_bash or abort it with stop_bash tool>
`

Using an unmanaged version :
`> /usr/bin/python3 -V
$ /usr/bin/python3 -V

Python 3.9.6

exited with exit code 0>
`

Affected version

0.0.334

Steps to reproduce the behavior

  1. install any program via asdf
  2. wait for copilot cli to time out
  3. get an error message saying it timed out, whatever the command was

Expected behavior

The command should be executed normally, like it does when Copilot runs it in agent mode in VS Code for instance.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions