work around QProcess windows issues

This commit is contained in:
adityapk00
2018-11-09 17:31:49 -08:00
parent cda0b94868
commit b899e432ae

View File

@@ -257,7 +257,13 @@ bool ConnectionLoader::startEmbeddedZcashd() {
//qDebug() << "Couldn't start zcashd: " << error;
});
#ifdef Q_OS_LINUX
ezcashd->start(zcashdProgram);
#else
ezcashd->setWorkingDirectory(fi.dir().absolutePath());
ezcashd->start("zcashd.exe");
#endif // Q_OS_LINUX
return true;
}