Fix type for windows
@@ -7,10 +7,12 @@ pub fn send_signal(pid: u32, action: &ProcessAction, children: bool) -> Result<b
bail!("not supported on windows.")
}
-/// Get all children of a specific process
+/// Get all children of a specific process.
+/// The Vec<i32> is just a placeholder.
pub fn get_children(pid: i32) -> Option<Vec<i32>> {
None
}
-/// Send a signal to multiple processes
-pub fn send_signal_to_processes(pid: i32, action: &ProcessAction) {}
+/// Send a signal to multiple processes.
+/// The Vec<i32> is just a placeholder.
+pub fn send_signal_to_processes(processes: Vec<i32>, action: &ProcessAction) {}
