Skip to content

proposal: os/exec: add CombinedOutputPipe function #27611

@Dliv3

Description

@Dliv3
func (c *Cmd) CombinedOutputPipe() (io.ReadCloser, error) 

CombinedOutputPipe returns a pipe that will be connected to the command's standard output and standard error, so that developers can access both standard output and standard error messages.

I have an implementation and I'd be happy to submit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions