summaryrefslogtreecommitdiff
path: root/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'run.go')
-rw-r--r--run.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/run.go b/run.go
index 2d5d468..ca6bf23 100644
--- a/run.go
+++ b/run.go
@@ -110,6 +110,7 @@ func RunPath(path string, args []string) *RunResult {
}
// send the path and the command
+// captures the output so you can not see the command run in real time
func RunCmd(workingpath string, parts []string) (error, bool, string) {
if len(parts) == 0 {
log.Warn("command line was empty")
@@ -172,6 +173,7 @@ func RunCmd(workingpath string, parts []string) (error, bool, string) {
}
// send the path and the command
+// also does not seem to show the output in realtime
func RunCmdRun(workingpath string, parts []string) error {
if len(parts) == 0 {
log.Warn("command line was empty")