mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 12:56:11 +00:00
14 lines
185 B
C++
14 lines
185 B
C++
|
|
||
|
#include "CommandTask.h"
|
||
|
|
||
|
CommandTask::CommandTask(const QString &cmd)
|
||
|
: cmd(cmd)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void CommandTask::runTask()
|
||
|
{
|
||
|
auto res = Core()->cmdTask(cmd);
|
||
|
emit finished(res);
|
||
|
}
|