[libcalamares] Partially fix implementation of timeout
- Adjust most call sites to use std::chrono::duration, - Call to QProcess::waitForFinished() needs work, since that takes milliseconds.
This commit is contained in:
parent
938b1ac4aa
commit
91644b4ba2
@ -152,7 +152,7 @@ System::runCommand(
|
||||
const QStringList& args,
|
||||
const QString& workingPath,
|
||||
const QString& stdInput,
|
||||
int timeoutSec )
|
||||
std::chrono::seconds timeoutSec )
|
||||
{
|
||||
QString output;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user