Skip to content

Can't use adhoc_tool with workspace  #21815

Open
@mnowotnik

Description

@mnowotnik

Describe the bug
Attempts to run a target with adhoc_tool with environment="__local_workspace__" crash.

Error:

python3.9: can't open file '/Users/michalnowotnik/Projects/pants-poc/./pex': [Errno 2] No such file or directory

Pants version
2.24.0.rc0

OS
Just checked MacOS.

Additional info
Minimal example: https://github.com/mnowotnik/pants-poc

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend: Environments{local,docker,remote}._environment-related issuesbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions