Skip to content

All verbatim arguments (--%) are ignored when passed to a native command. #26198

Open

Description

@kzrnm

Prerequisites

Steps to reproduce

# Windows
& "C:\Program Files\Git\usr\bin\echo.exe" --% --%

# Unix
/usr/bin/echo --% --%

Expected behavior

PS> /usr/bin/echo --% --%
--%

Actual behavior

PS> /usr/bin/echo --% --%
# empty line

Error details

Environment data

Name                           Value
----                           -----
PSVersion                      7.6.0-preview.5
PSEdition                      Core
GitCommitId                    7.6.0-preview.5-21-ge941e06743e7892e5197ab78651c1faa6ac77684
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.4
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

Activity

  1. added
    Needs-Triage
    on Oct 15, 2025
  2. added
    WG-NeedsReview
    WG-Engine
    on Nov 4, 2025
  3. added
    WG-Reviewed
    Up-for-Grabs
    and removed
    WG-NeedsReview
    Needs-Triage
    on Apr 20, 2026
  4. IISResetMe commented on Apr 20, 2026

    @IISResetMe
    Collaborator

    The Engine Working Group reviewed this issue and we agree it's a bug that should be addressed in the Native Command Processor (as suggested in your accompanying PR)

  5. added
    In-PR
    on Apr 20, 2026
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

    In-PRUp-for-GrabsWG-EngineWG-Reviewed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions