From 1a8dad77ee5dae4e522a19d85a21fa2c802aa04b Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 17 Nov 2015 15:56:16 -0800 Subject: [PATCH] pipe: On windows there is no stderr use stdin Fixes - #1372 --- pipe-main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipe-main.go b/pipe-main.go index c08c8960..a3555441 100644 --- a/pipe-main.go +++ b/pipe-main.go @@ -65,7 +65,7 @@ EXAMPLES: func pipe(targetURLs []string) *probe.Error { if len(targetURLs) == 0 { // When no target is specified, pipe cat's stdin to stdout. - return catOut(os.Stderr).Trace() + return catOut(os.Stdin).Trace() } // Stream from stdin to multiple objects until EOF.