mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 10:32:03 +08:00
lots of
This commit is contained in:
14
VM-source/command.cpp
Normal file
14
VM-source/command.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#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