summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-10-31 05:19:14 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-11-06 07:45:00 -0500
commit7ebd4debeef2cfdf268679e7b680021d3dc20687 (patch)
treec7b0db1ce098d2ac94aa6e61cd5f926465545f7e /src/main.cpp
parent9ff8a471aaf9a696610a055c091de39c41f985b7 (diff)
added a ForceWait flag to bypass disabled locking
merged a bunch of unnecessary functions in ProcessRunner
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 2b9a2f4d..02347ee3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -634,7 +634,7 @@ int runApplication(MOApplication &application, SingleInstance &instance,
try {
organizer.processRunner()
.setFromShortcut(shortcut)
- .setWaitForCompletion(ProcessRunner::NoRefresh)
+ .setWaitForCompletion()
.run();
return 0;
@@ -662,7 +662,7 @@ int runApplication(MOApplication &application, SingleInstance &instance,
// pass the remaining parameters to the binary
organizer.processRunner()
.setFromFileOrExecutable(exeName, arguments)
- .setWaitForCompletion(ProcessRunner::NoRefresh)
+ .setWaitForCompletion()
.run();
return 0;
}