aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/libLumina/LUtils.h')
-rw-r--r--src-qt5/core/libLumina/LUtils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LUtils.h b/src-qt5/core/libLumina/LUtils.h
index a494d4da..ee04c023 100644
--- a/src-qt5/core/libLumina/LUtils.h
+++ b/src-qt5/core/libLumina/LUtils.h
@@ -30,6 +30,9 @@
class LUtils{
public:
+ //Run an external command and return output & exit code
+ static QString runCommand(bool &success, QString command, QStringList arguments = QStringList(), QString workdir = "", QStringList env = QStringList());
+
//Run an external command and return the exit code
static int runCmd(QString cmd, QStringList args = QStringList());
//Run an external command and return any text output (one line per entry)
bgstack15