Skip to content

environment variables in pipfile scripts are not recognized correctly #3901

Closed
@Madoshakalaka

Description

@Madoshakalaka

When running scripts from pipfile. Unix style environment variables are wrongly recognized as commands.

Expected result

hello=world is recognized as setting an environment variable

Actual result

Error: the command hello=world (from generic-script) could not be found within PATH.

Steps to replicate

  • have the following part in pipfile
    [scripts]
    generic-script = 'hello=world python --version'
    
  • $ pipenv run generic-script

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions