Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b47d47b8 authored by Thomas PRAMPART's avatar Thomas PRAMPART
Browse files

Merge branch '37-bug-fix-external-processing' into 'master'

Bug Fix External processing

Closes #37

See merge request !164
parents 9024b8ee 204edd86
No related branches found
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