grim/convey

Parents 96530de374c1
Children cf13ffd0f7c7
Use github.com/kballard/go-shellquote in commands.go due to go-shellwords breakage
--- a/command/command.go Wed Sep 27 09:03:48 2017 -0500
+++ b/command/command.go Tue Oct 03 20:49:16 2017 -0500
@@ -26,7 +26,7 @@
"text/template"
"time"
- "github.com/mattn/go-shellwords"
+ "github.com/kballard/go-shellquote"
"bitbucket.org/rw_grim/convey/logging"
"github.com/aphistic/gomol"
@@ -80,7 +80,7 @@
return nil, err
}
- return shellwords.Parse(cmd.String())
+ return shellquote.Split(cmd.String())
}
func run(name, cmdTemplate string, params map[string]interface{}, timeout time.Duration, outHandler, errHandler collector) error {