Function stop_background_process

Source
pub fn stop_background_process(config: &Config) -> Result<()>
Expand description

Stop any running background process for the given configuration

ยงErrors

This function will return an error if any errors occur trying to detect or stop the process. This is only likely to happen when trying to stop a background process not belonging to the current user.