summaryrefslogtreecommitdiff
path: root/xterm.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-08 06:43:04 -0600
committerJeff Carr <[email protected]>2024-11-08 06:43:04 -0600
commitd887da32f20feee8bfbebf7b2db63f1a42fd7176 (patch)
tree8a13e9890c6c9c6e149bdf4cb5ebaf458fcaa167 /xterm.go
parentae5cadf5455d5f65fdab0b690b8d403090750fc3 (diff)
use go-cmd/cmd and purge old codev0.22.5
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 b06ef33..051e956 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")
- RunCmdRun(path, argsXterm)
+ PathRun(path, argsXterm)
}
// 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 RunCmd(path, tmp)
+ go PathRun(path, tmp)
}