aboutsummaryrefslogtreecommitdiffstats
path: root/c_exec.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-18 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-18 20:20:20 +0100
commitbfb6532ece7c6b284aac4add4cf582934ef48478 (patch)
tree66a23c45de5bc38312993ff6f6b9a44d02a2fc3d /c_exec.go
parentsample (diff)
downloadhardflip-bfb6532ece7c6b284aac4add4cf582934ef48478.tar.gz
hardflip-bfb6532ece7c6b284aac4add4cf582934ef48478.tar.bz2
hardflip-bfb6532ece7c6b284aac4add4cf582934ef48478.tar.xz
hardflip-bfb6532ece7c6b284aac4add4cf582934ef48478.tar.zst
hardflip-bfb6532ece7c6b284aac4add4cf582934ef48478.zip
good
Diffstat (limited to 'c_exec.go')
-rw-r--r--c_exec.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/c_exec.go b/c_exec.go
index 15b3a28..5c13f72 100644
--- a/c_exec.go
+++ b/c_exec.go
@@ -43,7 +43,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* hardflip: src/c_exec.go
- * Tue Dec 19 19:39:54 2023
+ * Thu Jan 18 18:57:42 2024
* Joe
*
* exec the command at some point
@@ -151,7 +151,7 @@ func c_format_cmd(host *HostNode, term string) {
if term == "$TERMINAL" {
term = os.Getenv("TERMINAL")
}
- cmd_fmt = append([]string{term, "-e"}, cmd_fmt...)
+ cmd_fmt = append([]string{"setsid", term, "-e"}, cmd_fmt...)
}
c_exec_cmd(cmd_fmt)
}