From b899e432aecf369e836cd0fd01751a22548a3d14 Mon Sep 17 00:00:00 2001 From: adityapk00 Date: Fri, 9 Nov 2018 17:31:49 -0800 Subject: [PATCH] work around QProcess windows issues --- src/connection.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/connection.cpp b/src/connection.cpp index ef8848b..556b76b 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -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; }