mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: standAloneLoading
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "externalexecuter.h"
|
||||
|
||||
#include <QCoreApplication>
|
||||
|
||||
|
||||
ExternalExecuter::ExternalExecuter()
|
||||
{
|
||||
@@ -13,12 +15,13 @@ ExternalExecuter::~ExternalExecuter()
|
||||
|
||||
void ExternalExecuter::CallApp()
|
||||
{
|
||||
QProcess myProcess(this);
|
||||
QProcess *myProcess = new QProcess(this);
|
||||
QStringList args;
|
||||
args << "1";
|
||||
|
||||
myProcess.start(programPath,args);
|
||||
myProcess.waitForFinished(-1);
|
||||
myProcess->start(programPath,args);
|
||||
myProcess->waitForFinished(3000);
|
||||
QCoreApplication::exit();
|
||||
}
|
||||
|
||||
bool ExternalExecuter::FindApp()
|
||||
|
||||
Reference in New Issue
Block a user