class RuboCop::Server::ClientCommand::Stop
@api private
This class is a client command to stop server process.
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