I'm tryin get loaction of node
package. Using QProcess
to execute commang which node
:
QProcess process;
process.start("/usr/bin/which", QStringList() << tr("node"));
process.waitForFinished(-1);
response = process.readAllStandardOutput();
qDebug() << response;
But in debug I got ""
.
Project located on GitHub. Problem in https://github.com/Dissfall/nodeGator/blob/develop/mainwindow.cpp