diff options
| author | Jeff Carr <[email protected]> | 2025-01-16 10:25:29 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-16 10:25:29 -0600 |
| commit | 098c7d3771d13b39a19cb2f21e7d64cd69acb7e4 (patch) | |
| tree | f98a4ef97a41ef42f84d56b02b98608a88460c47 | |
| parent | 1534b9fbbcd883b5820d53c86e4923185574cfe0 (diff) | |
forge config has user xterm settingsv0.22.22
| -rw-r--r-- | xterm.go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -3,7 +3,6 @@ package shell import ( "fmt" "os" - "strings" "go.wit.com/log" ) @@ -127,16 +126,17 @@ func XtermCmd(path string, cmd []string) { // runs an xterm // waits until xterm exits func XtermCmdWait(path string, cmd []string) { - var argsXterm = getXtermCmd(cmd) + // var argsXterm = getXtermCmd(cmd) - log.Info("XtermCmd() path =", path, "cmd =", argsXterm) + log.Info("XtermCmd() path =", path, "cmd =", cmd) // keeps git diff from exiting on small diffs os.Setenv("LESS", "-+F -+X -R") - PathRunLog(path, argsXterm, INFO) + PathRunLog(path, cmd, INFO) } +/* // spawns an xterm with something you can run at a command line // then executes bash func XtermCmdBash(path string, cmd []string) { @@ -149,3 +149,4 @@ func XtermCmdBash(path string, cmd []string) { log.Info("XtermCmd() path =", path, "cmd =", tmp) go PathRunLog(path, tmp, INFO) } +*/ |
