summaryrefslogtreecommitdiff
path: root/shell.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-06-13 19:31:37 -0700
committerJeff Carr <[email protected]>2019-06-13 19:31:37 -0700
commit49d36e287d983f72b2b2b5d903fb3bf55a44b440 (patch)
treea34470c22f127b9405c2f62527af0cce934192be /shell.go
parentb375aa752a6e587a8d5b3408965ac8029c2eeee8 (diff)
start handling stupid Windows
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'shell.go')
-rw-r--r--shell.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/shell.go b/shell.go
index 47ff9ed..ab8a695 100644
--- a/shell.go
+++ b/shell.go
@@ -13,7 +13,9 @@ import "io"
import "github.com/davecgh/go-spew/spew"
import "github.com/svent/go-nbreader"
+// import "log"
import log "github.com/sirupsen/logrus"
+// TODO this journalhook to be cross platform
// import "github.com/wercker/journalhook"
// TODO: look at https://github.com/go-cmd/cmd/issues/20
@@ -24,9 +26,9 @@ var callback func(interface{}, int)
var shellStdout *os.File
var shellStderr *os.File
-var spewOn bool = false
-var quiet bool = false
-var msecDelay int = 20 // number of milliseconds to delay between reads with no data
+var spewOn bool = false
+var quiet bool = false
+var msecDelay int = 20 // number of milliseconds to delay between reads with no data
var bytesBuffer bytes.Buffer
var bytesSplice []byte