1#include "GitSyncProcess.h"
2
3#include <QTemporaryFile>
4#include <QTextStream>
5
6GitSyncProcess::GitSyncProcess(const QString &workingDir)
7 : AGitProcess(workingDir)
8{
9}
10
11GitExecResult GitSyncProcess::run(const QString &command)
12{
13 const auto processStarted = execute(command);
14
15 if (processStarted)
16 waitForFinished(10000);
17
18 close();
19
20 return { !mRealError, mRunOutput };
21}
22