mirror of
https://github.com/sxyazi/yazi.git
synced 2024-11-24 18:07:14 +03:00
fix: doesn't redirect the stderr of the clipboard command to null (#119)
This commit is contained in:
parent
ac58f709a5
commit
0ff1479ce0
1
core/src/external/clipboard.rs
vendored
1
core/src/external/clipboard.rs
vendored
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user