Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tee-Object should have a -Console parameter #19827

Copy link
Copy link
@iRon7

Description

@iRon7
Issue body actions

Summary of the new feature / enhancement

From the PowerShell for every system! idea, Tee-Object shouldn't need a system specific value expression to output to a console (and the pipeline) but simply tee the object to both the success stream and the information stream.

Get-Content data.txt | Tee-Object ($IsWindows ? '\\.\CON': '/dev/tty')  | data_processor.exe

Proposed technical implementation details (optional)

Wishful thinking:
(see: Can you redirect Tee-Object to standard out?)

Get-Content data.txt | Tee-Object -Console | data_processor.exe
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugKeepOpenThe bot will ignore these and not auto-closeThe bot will ignore these and not auto-closeUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issuesWG-ReviewedA Working Group has reviewed this and made a recommendationA Working Group has reviewed this and made a recommendation

    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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.