Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 204edd86 authored by MONSEIGNE Thibaut's avatar MONSEIGNE Thibaut
Browse files

:bug: Bug Fix External processing

parent 9024b8ee
Branches
No related tags found
1 merge request!164Bug Fix External processing
#include "ovpCBoxAlgorithmExternalProcessing.h"
#include "ovpCBoxAlgorithmExternalProcessing.h"
#include <chrono>
#include <cstdlib>
......@@ -462,9 +462,9 @@ static std::vector<std::string> splitCommandLine(const std::string& cmdLine)
char* strToChar(const std::string& s)
{
char* pc = nullptr;
std::copy(s.begin(), s.end(), pc);
return pc;
char* c = new char[s.size() + 1];
std::copy(s.begin(), s.end(), c);
return c;
}
bool CBoxAlgorithmExternalProcessing::launchThirdPartyProgram(const std::string& programPath, const std::string& arguments)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment