Skip to content

Changing PATH env var doesn't seem to work #482

@max-sixty

Description

@max-sixty
  • Task version: 3.2.2
  • Operating System: MacOS & Linux

Firstly thanks a lot for the excellent tool! I've moved lots of hacky shell scripts over to task.

Example Taskfile showing the issue

version: "3"

env:
  PATH: test

tasks:
  path:
    - echo $PATH

The result is my existing path. Switching from PATH to PATH2 shows test as expected. Is this intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: envChanges related to environment variables.breaking changeChanges that are not backward compatible.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions