mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 20:26:24 +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() {
|
||||
#ifdef Q_OS_WIN
|
||||
QString commandLine;
|
||||
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
commandLine = "start \"domain-server.exe\" \"" + QDir::toNativeSeparators(_installationFolder) + "\\domain-server.exe\"";
|
||||
system(commandLine.toStdString().c_str());
|
||||
|
||||
commandLine =
|
||||
"start \"assignment-client.exe\" \"" + QDir::toNativeSeparators(_installationFolder) + "\\assignment-client.exe\" -n 6";
|
||||
system(commandLine.toStdString().c_str());
|
||||
|
||||
#elif defined Q_OS_MAC
|
||||
commandLine = "open -a \"" +_installationFolder + "/Sandbox.app\"";
|
||||
system(commandLine.toStdString().c_str());
|
||||
#endif
|
||||
|
||||
// Give server processes time to stabilize
|
||||
QThread::sleep(20);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue