mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 18:42:03 +08:00
add
This commit is contained in:
18
command.cpp
Normal file
18
command.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||
* 依照 GPLV3 开源
|
||||
*/
|
||||
#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());
|
||||
}
|
||||
Reference in New Issue
Block a user