Skip to content

Improve pipeline for native commands #559

@vors

Description

@vors

Consider

ping -c 4 ya.ru | grep 64

Run it in PS and in bash. Compare UX.
In PS output of ping is collected, then it's passed down the pipe all together.
In bash you see output of grep instantly after ping send one line to the pipe.

As @BrucePay pointed out it never appeared to be a problem on windows due to the lack of pipeable native command-line tools.

As a minimum, we should sort out this buffering flow.
Desirable: improve pipe speed for certain cases (i.e. native command to native command).

Open question: can we use a native pipe to provide a compatible speed, when pipeline doesn't involve PS commands?

Metadata

Metadata

Assignees

Labels

Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.Usability(LEGACY) Helps filter issues that might be higher priority because they directly affect usabilityWG-Enginecore PowerShell engine, interpreter, and runtime

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions