save bevor debug

This commit is contained in:
Tristan Krause 2019-03-29 08:32:11 +01:00
parent 2a8e3061db
commit c1564064ac
10 changed files with 88 additions and 28 deletions

View file

@ -189,3 +189,10 @@ void PlottyFile::writeToFile(std::string filename)
file.close();
}
void PlottyFile::startPlotty(std::string filename)
{
int code = system(("./plotty --in " + filename).c_str());
if(code)
throw std::runtime_error("Fehler beim Aufruf von plotty");
}