mirror of
https://github.com/timvisee/ffsend.git
synced 2025-01-31 19:51:35 +01:00
Pipe clipboard process output to null on Linux
This commit is contained in:
parent
e9f7dde6fa
commit
ff657683cc
@ -418,7 +418,7 @@ impl ClipboardType {
|
||||
content: String,
|
||||
) -> Result<(), ClipboardError> {
|
||||
// Spawn the command process for setting the clipboard
|
||||
let mut process = match command.stdin(Stdio::piped()).spawn() {
|
||||
let mut process = match command.stdin(Stdio::piped()).stdout(Stdio::null()).spawn() {
|
||||
Ok(process) => process,
|
||||
Err(err) => {
|
||||
return Err(match err.kind() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user