Skip to content

Wrong format of CommandLine property of Get-Process cmdlet #18705

@237dmitry

Description

@237dmitry

Prerequisites

Steps to reproduce

CommandLine property returns the non-separated string. For example:

(Get-Process -Id $PID).CommandLine

return pwsh-NoLogo

Expected behavior

pwsh -NoLogo

Actual behavior

pwsh-NoLogo

Error details

no errors

Environment data

Name                           Value
----                           -----
PSVersion                      7.3.0
PSEdition                      Core
GitCommitId                    7.3.0
OS                             Linux 6.0.10-arch2-1 #1 SMP PREEMPT_DYNAMIC Sat, 26 Nov 2022 16:51:18 +0000
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

ArcoLinux_2022-12-02_00-20-03

I think this depends on dotnet:

ArcoLinux_2022-12-02_00-30-18

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    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