aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorBrandon Mulcahy2015-07-17 01:37:29 -0400
committerBrandon Mulcahy2015-07-17 01:41:35 -0400
commit9404f81aabf15233dfadf8bc136d0a0c57555141 (patch)
treed80c22620c7243533ddc2f4b2ba65078284deea0 /README.md
parent2e6fb17d7a7cb6a81837ee68158214d9098de905 (diff)
downloadbrowser-9404f81aabf15233dfadf8bc136d0a0c57555141.tar.bz2
Allow reassignment of exec.Cmd Stdout and Stderr
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 12 insertions, 1 deletions
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)