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 | bfb6532ece7c6b284aac4add4cf582934ef48478 (patch) | |
tree | 66a23c45de5bc38312993ff6f6b9a44d02a2fc3d /c_exec.go | |
parent | sample (diff) | |
download | hardflip-bfb6532ece7c6b284aac4add4cf582934ef48478.tar.gz hardflip-bfb6532ece7c6b284aac4add4cf582934ef48478.tar.bz2 hardflip-bfb6532ece7c6b284aac4add4cf582934ef48478.tar.xz hardflip-bfb6532ece7c6b284aac4add4cf582934ef48478.tar.zst hardflip-bfb6532ece7c6b284aac4add4cf582934ef48478.zip |
good
Diffstat (limited to '')
-rw-r--r-- | c_exec.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) } |