summaryrefslogtreecommitdiff
path: root/src/processrunner.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-10-31 02:52:14 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-11-06 07:44:59 -0500
commita88f9dd9a703c23263b5561d3cae126e90e36f3f (patch)
tree48a76a1e24be932ee4056c2008ce4c01d5092810 /src/processrunner.cpp
parentb855754c9708c825e6bc1e995cb0262c065c5d20 (diff)
removed runExecutableOrExecutableFile()
log the actual spawning and requests to start as well as wait from plugins raise the lock widget when it's a dialog
Diffstat (limited to 'src/processrunner.cpp')
-rw-r--r--src/processrunner.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/processrunner.cpp b/src/processrunner.cpp
index 6ca05147..e6f916c5 100644
--- a/src/processrunner.cpp
+++ b/src/processrunner.cpp
@@ -661,22 +661,12 @@ DWORD ProcessRunner::exitCode()
return m_exitCode;
}
-
-HANDLE ProcessRunner::runExecutableOrExecutableFile(
- const QString& executable, const QStringList &args, const QString &cwd,
- const QString& profileOverride, const QString &forcedCustomOverwrite,
- bool ignoreCustomOverwrite)
+HANDLE ProcessRunner::processHandle()
{
- setFromFileOrExecutable(
- executable, args, cwd, profileOverride, forcedCustomOverwrite,
- ignoreCustomOverwrite);
-
- setWaitForCompletion(Refresh);
-
- run();
return m_handle;
}
+
void ProcessRunner::withLock(
LockWidget::Reasons reason, std::function<void (LockWidget&)> f)
{