mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 08:37:15 +00:00
fix: replace sh with CMD_SH (#12173)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
1 parent
58fd2d3ccd
commit
fd4e0146e1
3 files changed
+9
-4
No files matched your search
+2
-1
@@ -427,7 +427,8 @@ impl ClipboardContext {
|
||||
// It's not correct in the server process.
|
||||
#[cfg(target_os = "linux")]
|
||||
let is_kde_x11 = {
|
||||
let is_kde = std::process::Command::new("sh")
|
||||
use hbb_common::platform::linux::CMD_SH;
|
||||
let is_kde = std::process::Command::new(CMD_SH.as_str())
|
||||
.arg("-c")
|
||||
.arg("ps -e | grep -E kded[0-9]+ | grep -v grep")
|
||||
.stdout(std::process::Stdio::piped())
|
||||
|
||||
Reference in new issue
Block a user