From 0ff1479ce05621a6422f17b36fa35379872cc999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E9=9B=85=20=C2=B7=20Misaki=20Masa?= Date: Thu, 7 Sep 2023 14:58:06 +0800 Subject: [PATCH] fix: doesn't redirect the stderr of the clipboard command to null (#119) --- core/src/external/clipboard.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/external/clipboard.rs b/core/src/external/clipboard.rs index 59a7b8b7..0560d6f0 100644 --- a/core/src/external/clipboard.rs +++ b/core/src/external/clipboard.rs @@ -56,6 +56,7 @@ pub async fn clipboard_set(s: impl AsRef) -> Result<()> { .args(args) .stdin(Stdio::piped()) .stdout(Stdio::null()) + .stderr(Stdio::null()) .kill_on_drop(true) .spawn() else {