diff options
| author | Jeff Carr <[email protected]> | 2024-11-13 10:33:54 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-13 10:33:54 -0600 |
| commit | d986f8f33181d892c2dd220c145863fc3fe6ce14 (patch) | |
| tree | 7719d8b72db25c35ebc3a40b8b8f6d064aaf4d59 /xterm.go | |
| parent | d887da32f20feee8bfbebf7b2db63f1a42fd7176 (diff) | |
go-cmd output logging option
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'xterm.go')
| -rw-r--r-- | xterm.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) } |
