Skip to content

[System.Diagnostics.Process]::Start() doesn't return error on Unix if fileName is directory #22781

Description

@SteveL-MSFT

Repro:

Using PowerShell:

PS> [System.Diagnostics.Process]::Start("/home")

Expected:
error that /home isn't valid or access denied

Actual:
New forked powershell process

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions