mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-14 02:25:12 +08:00
15 lines
293 B
C++
15 lines
293 B
C++
|
#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());
|
||
|
}
|