Skip to content

Problem with escaping command arguments #225

Description

@hz61p1

settings.json

{
  "task": {
    "outputTo": "output"
  }
}

Dockerfile

FROM node:22-bookworm
CMD ["bash"]

Taskfile.yaml

---
version: '3'

tasks:
  frontend.cli:
    cmds:
      - docker compose run --rm frontend-cli {{.CLI_ARGS}}

Click Run Task With Args, input npm -v, this generates the command docker compose run --rm frontend-cli 'npm -v'. If you set outputTo to terminal, the final command will be docker compose run --rm frontend-cli npm -v, аnd the result will be successful. The problem is on line taskfile.ts:261.

Activity

  1. pd93 commented on Feb 14, 2026

    @pd93
    Member

    I believe this will be fixed by #233.

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

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions