Candifloss de1bd068d6 Modularize the widegets module
- Divide into sub-modules
- Seperate the logic of different widgets
- Better readability and maintainability
2025-11-20 18:56:09 +05:30

7 lines
159 B
Rust

use std::process::{Child, Command};
// Run a shell command without blocking
pub fn run_cmd(cmd: &str) -> Option<Child> {
Command::new(cmd).spawn().ok()
}