Skip to content

Commit

Permalink
fix: doesn't redirect the stderr of the clipboard command to null (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi authored Sep 7, 2023
1 parent ac58f70 commit 0ff1479
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/external/clipboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ pub async fn clipboard_set(s: impl AsRef<std::ffi::OsStr>) -> Result<()> {
.args(args)
.stdin(Stdio::piped())
.stdout(Stdio::null())
.stderr(Stdio::null())
.kill_on_drop(true)
.spawn()
else {
Expand Down

0 comments on commit 0ff1479

Please sign in to comment.