mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 02:08:23 +02:00
Updated Python command for Mac.
This commit is contained in:
parent
6e8338fade
commit
22ae1114b5
1 changed files with 5 additions and 0 deletions
|
@ -425,6 +425,11 @@ void AWSInterface::updateAWS() {
|
||||||
connect(process, static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), this,
|
connect(process, static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished), this,
|
||||||
[=](int exitCode, QProcess::ExitStatus exitStatus) { _busyWindow.hide(); });
|
[=](int exitCode, QProcess::ExitStatus exitStatus) { _busyWindow.hide(); });
|
||||||
|
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
QStringList parameters = QStringList() << filename ;
|
QStringList parameters = QStringList() << filename ;
|
||||||
process->start(_pythonCommand, parameters);
|
process->start(_pythonCommand, parameters);
|
||||||
|
#elif defined Q_OS_MAC
|
||||||
|
QStringList parameters = QStringList() << "-c" << _pythonCommand + " " + filename;
|
||||||
|
process->start("sh", parameters);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue