mirror of
https://github.com/yawaflua/SpCloudCore.git
synced 2025-12-10 04:29:35 +02:00
First verstion of app with megrating to real server
This commit is contained in:
@@ -32,7 +32,8 @@ public:
|
||||
//std::string command = R"(powershell -Command "& \"C:\Program Files\WinRAR\WinRAR.exe\" x \")" + file_path + R"(\" \")" + final_files_directory + R"(\")";
|
||||
|
||||
//Linux version
|
||||
std::string command = "unzip " + file_path + " -d " + final_files_directory;
|
||||
//std::string command = "unzip " + file_path + " -d " + final_files_directory;
|
||||
std::string command = "unrar x" + file_path + " " + final_files_directory;
|
||||
|
||||
std::thread commandThread(&CommandService::execute_command, command);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user