Add authorization file processing layers

This commit is contained in:
Hepatica
2024-08-09 22:46:56 +02:00
parent 21a42cf720
commit 9f498fda2e
7 changed files with 10101 additions and 73 deletions

View File

@@ -0,0 +1,15 @@
#pragma once
#include <iostream>
class CommandService
{
public:
static void execute_command(const std::string& command) {
int result = std::system(command.c_str()); // NOLINT(concurrency-mt-unsafe)
if (result != 0) {
std::cerr << "Command failed with code: " << result << std::endl;
}
}
};