Skip to content

Commit

Permalink
PR feedback: Call "setsid" for all unix systems
Browse files Browse the repository at this point in the history
  • Loading branch information
gavynriebau committed Jan 7, 2023
1 parent 19f531f commit 76b0e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-view/src/clipboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 76b0e25

Please sign in to comment.