/// <summary> /// Starts a secondary process to safely kill the process with the specified key. /// Returns the process with the specified key, which you can then wait for to exit. /// </summary> public static Process SafelyKillProcess(this IProcessProvider provider, string key) { return(provider.SafelyKillProcess(provider.GetProcess(key))); }