Skip to main content

exec

Function exec 

Source
pub fn exec(socket_path: &str, command: &str) -> i32
Expand description

Send a command to the daemon and print results. Returns the command’s exit code.