looqs/cli/command.cpp

15 рядки
222 B
C++

#include <QFile>
#include <QThread>
#include <QDebug>
#include "command.h"
2021-06-12 14:59:58 +02:00
#include "looqsgeneralexception.h"
2022-04-14 15:03:19 +02:00
void Command::execute()
{
int result = handle(arguments);
if(autoFinish)
{
emit finishedCmd(result);
}
}