#include "command.h" #include Command::Command() { } QString Command::GetCommand(QString command){ QProcess process; process.start(command); process.waitForStarted(); process.waitForFinished(); return QString::fromLocal8Bit(process.readAllStandardOutput()); }