summaryrefslogtreecommitdiff
path: root/xterm.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-13 10:33:54 -0600
committerJeff Carr <[email protected]>2024-11-13 10:33:54 -0600
commitd986f8f33181d892c2dd220c145863fc3fe6ce14 (patch)
tree7719d8b72db25c35ebc3a40b8b8f6d064aaf4d59 /xterm.go
parentd887da32f20feee8bfbebf7b2db63f1a42fd7176 (diff)
go-cmd output logging option
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'xterm.go')
-rw-r--r--xterm.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xterm.go b/xterm.go
index 051e956..b5aa6f2 100644
--- a/xterm.go
+++ b/xterm.go
@@ -123,7 +123,7 @@ func XtermCmdWait(path string, cmd []string) {
// keeps git diff from exiting on small diffs
os.Setenv("LESS", "-+F -+X -R")
- PathRun(path, argsXterm)
+ PathRunLog(path, argsXterm, INFO)
}
// spawns an xterm with something you can run at a command line
@@ -136,5 +136,5 @@ func XtermCmdBash(path string, cmd []string) {
bash += "'; bash\""
tmp = append(argsXterm, "bash", bash)
log.Info("XtermCmd() path =", path, "cmd =", tmp)
- go PathRun(path, tmp)
+ go PathRunLog(path, tmp, INFO)
}