first implementation for sync-tool

This commit is contained in:
2025-02-24 16:13:43 +01:00
parent 39b5551e90
commit 3573279dfa
3 changed files with 65 additions and 4 deletions

View File

@@ -12,7 +12,10 @@ using namespace internal;
SyncCommand::SyncCommand() {
}
bool SyncCommand::exec(QString const &cmd, QStringList const &options,
int SyncCommand::exec(QString const &cmd, QStringList const &options,
int start_timeout, int finish_timeout) {
return false;
Command c(cmd, options, internal::customerRepoDir(),
start_timeout, finish_timeout);
c.exec();
return c.exitCode();
}