From e2b0b33f9a1ae812879afd1182a017bb7d4a5e8d Mon Sep 17 00:00:00 2001 From: Gavyn Riebau Date: Sun, 8 Jan 2023 02:23:18 +0800 Subject: [PATCH] PR feedback: Call "setsid" for all unix systems --- helix-view/src/clipboard.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-view/src/clipboard.rs b/helix-view/src/clipboard.rs index 1401e6d64aef..3c620c1466ac 100644 --- a/helix-view/src/clipboard.rs +++ b/helix-view/src/clipboard.rs @@ -285,7 +285,7 @@ pub mod provider { .stderr(Stdio::null()); // Fix for https://github.com/helix-editor/helix/issues/5424 - if cfg!(not(any(windows, target_os = "wasm32", target_os = "macos"))) { + if cfg!(unix) { use std::os::unix::process::CommandExt; unsafe {