mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 04:37:48 +02:00
Runs Interface with Sandbox
This commit is contained in:
parent
41b70ffab5
commit
263a831fc4
1 changed files with 7 additions and 2 deletions
|
@ -345,16 +345,21 @@ void TestRunner::killProcesses() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void TestRunner::startLocalServerProcesses() {
|
void TestRunner::startLocalServerProcesses() {
|
||||||
#ifdef Q_OS_WIN
|
|
||||||
QString commandLine;
|
QString commandLine;
|
||||||
|
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
commandLine = "start \"domain-server.exe\" \"" + QDir::toNativeSeparators(_installationFolder) + "\\domain-server.exe\"";
|
commandLine = "start \"domain-server.exe\" \"" + QDir::toNativeSeparators(_installationFolder) + "\\domain-server.exe\"";
|
||||||
system(commandLine.toStdString().c_str());
|
system(commandLine.toStdString().c_str());
|
||||||
|
|
||||||
commandLine =
|
commandLine =
|
||||||
"start \"assignment-client.exe\" \"" + QDir::toNativeSeparators(_installationFolder) + "\\assignment-client.exe\" -n 6";
|
"start \"assignment-client.exe\" \"" + QDir::toNativeSeparators(_installationFolder) + "\\assignment-client.exe\" -n 6";
|
||||||
system(commandLine.toStdString().c_str());
|
system(commandLine.toStdString().c_str());
|
||||||
|
|
||||||
|
#elif defined Q_OS_MAC
|
||||||
|
commandLine = "open -a \"" +_installationFolder + "/Sandbox.app\"";
|
||||||
|
system(commandLine.toStdString().c_str());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Give server processes time to stabilize
|
// Give server processes time to stabilize
|
||||||
QThread::sleep(20);
|
QThread::sleep(20);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue