deep-wine-runner/VM-source/command.cpp

19 lines
335 B
C++
Raw Normal View History

2023-04-05 16:09:58 +08:00
/*
2023-04-24 21:49:18 +08:00
* gfdgd xi
2023-04-05 16:09:58 +08:00
* GPLV3
*/
2023-02-07 22:12:05 +08:00
#include "command.h"
#include <QProcess>
Command::Command()
{
}
QString Command::GetCommand(QString command){
QProcess process;
process.start(command);
process.waitForStarted();
process.waitForFinished();
return QString::fromLocal8Bit(process.readAllStandardOutput());
}