diff options
author | Joe <rbo@gmx.us> | 2024-01-18 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-18 20:20:20 +0100 |
commit | d638f631f4f03a7b359a4c12d7d679602c8d733a (patch) | |
tree | 0e76ecd2c076a7e0ae0a49ea53ada74f5f536ef9 /c_exec.go | |
parent | sample (diff) | |
download | hardflip-d638f631f4f03a7b359a4c12d7d679602c8d733a.tar.gz hardflip-d638f631f4f03a7b359a4c12d7d679602c8d733a.tar.bz2 hardflip-d638f631f4f03a7b359a4c12d7d679602c8d733a.tar.xz hardflip-d638f631f4f03a7b359a4c12d7d679602c8d733a.tar.zst hardflip-d638f631f4f03a7b359a4c12d7d679602c8d733a.zip |
config
Diffstat (limited to '')
-rw-r--r-- | c_exec.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -147,6 +147,9 @@ func c_format_cmd(host *HostNode, term string) { c_die("type not found", nil) } if len(term) > 0 { + if term == "$TERMINAL" { + term = os.Getenv("TERMINAL") + } cmd_fmt = append([]string{term, "-e"}, cmd_fmt...) } c_exec_cmd(cmd_fmt) |