From 9404f81aabf15233dfadf8bc136d0a0c57555141 Mon Sep 17 00:00:00 2001 From: Brandon Mulcahy Date: Fri, 17 Jul 2015 01:37:29 -0400 Subject: Allow reassignment of exec.Cmd Stdout and Stderr --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 69c00ca..72b1976 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,17 @@ The choice of which browser is started is entirely client dependant. +## Variables +``` go +var Stderr io.Writer = os.Stderr +``` +Stderr is the io.Writer to which executed commands write standard error. + +``` go +var Stdout io.Writer = os.Stdout +``` +Stdout is the io.Writer to which executed commands write standard output. + ## func OpenFile ``` go @@ -41,4 +52,4 @@ OpenURL opens a new browser window pointing to url. - - - -Generated by [godoc2md](http://godoc.org/github.com/davecheney/godoc2md) \ No newline at end of file +Generated by [godoc2md](http://godoc.org/github.com/davecheney/godoc2md) -- cgit v1.2.3