summaryrefslogtreecommitdiff
path: root/src/processrunner.cpp
Commit message (Collapse)AuthorAgeFilesLines
* conflicts tab: run exes unhooked by defaultisanae2019-12-081-24/+46
|
* added "open with vfs" option to conflicts tabisanae2019-12-021-2/+18
|
* don't show the lock overlay for processes that are not hookedisanae2019-12-021-0/+9
| | | | | starting exe from filetree is now hooked usvfs progress dialog now on top of dialogs
* cwd was MO instead of binary if non was specified in the exe settingsisanae2019-11-261-2/+2
|
* switched to using a job object to monitor for processes so child processes ↵isanae2019-11-261-67/+119
| | | | can also be captured
* renamed LockWidget to UILockerisanae2019-11-061-17/+17
| | | | lock interface up to two processes
* threaded wait for processisanae2019-11-061-11/+31
|
* moved LockWidget back to OrganizerCore to support having multiple locks activeisanae2019-11-061-17/+16
| | | | | moved the ui out of LockWidget into LockInterface added LockWidget::Session to manage multi locks
* removed redundant checkBinary(), which used to check for non existing ↵isanae2019-11-061-71/+126
| | | | | | | | | | binaries, that's handled when spawning removed useless checkEnvironment(), which checked for EventLog removed CREATE_BREAKAWAY_FROM_JOB from CreateProcess() calls, didn't do anything fixed setFromFileOrExecutable() when running just a filename that's not an executable name split run() fixed lock widget being disabled when running without a ui
* removed unused SpawnedProcessisanae2019-11-061-47/+0
| | | | lock widget now interprets closing the dialog as a forced unlock
* added a ForceWait flag to bypass disabled lockingisanae2019-11-061-80/+75
| | | | merged a bunch of unnecessary functions in ProcessRunner
* added attachToProcess(), made waitForApplication() privateisanae2019-11-061-10/+27
| | | | changed OrganizerProxy::startApplication() so it _doesn't_ wait for completion, which is its original behaviour
* removed runExecutableOrExecutableFile()isanae2019-11-061-12/+2
| | | | | log the actual spawning and requests to start as well as wait from plugins raise the lock widget when it's a dialog
* removed runShortcut()isanae2019-11-061-9/+0
| | | | changed lock widget text when running without a ui
* removed runExecutable()isanae2019-11-061-9/+0
|
* removed runExecutableFile()isanae2019-11-061-26/+0
| | | | turns out on_startButton_clicked() had redundant code
* explicit refresh parameter for setWaitForCompletion(), some parts of the ui ↵isanae2019-11-061-17/+8
| | | | | | | | will crash if things refresh unexpectedly removed runFile() fixed crash when unlocking if some widgets were destroyed in the meantime lock widget will now pick the active window and disable all top levels
* added lockwidget to replace all the other dialogsisanae2019-11-061-289/+398
| | | | | | rewrote ProcessRunner to have a bunch of setters and then a run() fixed bad exit code when waiting on a process that's already completed removed lock()/unlock() from main window, ProcessRunner is in charge of that now
* return failure if the user has unlocked in waitForApplication()isanae2019-11-061-16/+18
|
* always wait until completion in waitForApplication(), regardless of lock settingisanae2019-11-061-7/+14
|
* recheck the process tree if the current process is not that interestingisanae2019-11-061-58/+165
|
* refactored waiting into waitForProcesses()isanae2019-11-061-160/+116
|
* split to processrunnerisanae2019-11-061-0/+634
added IUserInterface::qtWidget() put back IUserInterface in OrganizerCore now that there's a way to get the widget