Pi66

pind
Simple Rust hotkey daemon.
git clone https://git.pi66.xyz/pind

← back to log

V1.0.5 | fix input problems

author: pi66
date: 2025-08-22 21:57
hash: 13f36c7f9d1b61d235f2aa0cfd849eb7e2aa93d5

Diffstat:

M

src/main.rs
2 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
diff --git a/src/main.rs b/src/main.rs
index 2c210cb..c04117a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -46,7 +46,7 @@ fn run(command: &str,  user: &str)
         .arg(&shell)
         .arg("-c")
         .arg(command)
-        .stdin(Stdio::null())
+        // .stdin(Stdio::null())
         .stdout(Stdio::null())
         .stderr(Stdio::null())
         .spawn().unwrap_or_else(|e| {