class RuboCop::Server::ClientCommand::Stop
def run
def run return unless check_running_server pid = fork do send_request(command: 'stop') Server.wait_for_running_status!(false) end Process.waitpid(pid) end
def run return unless check_running_server pid = fork do send_request(command: 'stop') Server.wait_for_running_status!(false) end Process.waitpid(pid) end