summaryrefslogtreecommitdiff
path: root/src/spawn.cpp
Commit message (Collapse)AuthorAgeFilesLines
* implemented exe commandisanae2021-01-181-2/+7
| | | | better error when cwd doesn't exist
* removed flags from SingleInstance because there's only one leftisanae2020-11-031-1/+1
| | | | | | refactoring in main.cpp: - moved stuff to loglist.cpp and moapplication.cpp - split main() into a few functions
* now using new common cmakefilesisanae2020-04-231-2/+2
| | | | | fixed includes because shared/ isn't in the path anymore removed unused modeltest files
* added a few missing constsisanae2020-02-041-0/+9
| | | | | removed incorrect assert about an empty game edition added FileTree to wrap a QTreeView and a FileTreeModel, moved some context menu actions over
* temporary fix to keep MO locked for all processes when closingisanae2019-12-151-2/+4
| | | | save main window settings in closeEvent()
* removed redundant checkBinary(), which used to check for non existing ↵isanae2019-11-061-40/+3
| | | | | | | | | | 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 filesisanae2019-11-061-2/+1
| | | | fixed handle leak when starting steam
* removed runExecutableOrExecutableFile()isanae2019-11-061-10/+34
| | | | | log the actual spawning and requests to start as well as wait from plugins raise the lock widget when it's a dialog
* split to processrunnerisanae2019-11-061-198/+0
| | | | | added IUserInterface::qtWidget() put back IUserInterface in OrganizerCore now that there's a way to get the widget
* replaced uilock by a progress callback in spawnisanae2019-11-061-18/+11
| | | | waiting for process now gets the whole process tree to find an interesting process
* split to getRunningUSVFSProcesses()isanae2019-11-061-14/+39
| | | | simplified waitForAllUSVFSProcesses() to always get the list of running processes after one process completes
* spawning an executable now only waits for that particular processisanae2019-11-061-0/+63
| | | | added waitForAllUSVFSProcesses() to OrganizerCore, used when closing MO
* wait for executable when opening filesisanae2019-11-061-2/+2
|
* moved findJavaInstallation() and getFileExecutionContext() to spawnisanae2019-11-061-2/+181
| | | | fixed env::get() returning garbage after value
* initial Spawner and SpawnedProcessisanae2019-11-061-8/+123
| | | | | | | added steam app id to spawn parameters removed threadHandle, unused moved most of the stuff from OrganizerCore::spawnBinaryProcess() to Spawner replaced m_UserInterface by m_MainWindow
* added ExitModOrganizer(), used instead of qApp->exit()isanae2019-10-071-6/+6
| | | | | | | reset geometry uses TaskDialog moved restart code for the settings dialog to MainWindow fixed settings sometimes not being saved when restarting don't log "crash dumps present" every time the settings dialog is closed
* missing periodisanae2019-09-201-1/+1
|
* registry details when steam fails to startisanae2019-09-201-4/+16
| | | | typos
* added details to blacklist dialogisanae2019-09-191-5/+10
|
* TaskDialog for blacklisted, with button to change the blacklistisanae2019-09-191-15/+46
|
* TaskDialog for event log not runningisanae2019-09-191-15/+31
|
* TaskDialog for restarting as admin for steamisanae2019-09-191-49/+57
| | | | | | added a parent widget parameter to a bunch of places fixed paths still getting changed even if folders can't be created made private the member variables that were temporarily public during rework
* steam confirmation now using TaskDialogisanae2019-09-191-32/+63
| | | | fixed dialog choices not remembering files
* added Settings::isExecutableBlacklisted()isanae2019-09-191-13/+16
| | | | moved blacklisted confirmation to dialogs
* moved event log warning to dialogsisanae2019-09-191-23/+22
|
* moved the content of checkService() to env::getService(), refactored itisanae2019-09-191-77/+15
|
* removed helper.h and helper.cpp, merged into spawnisanae2019-09-191-1/+0
|
* moved helper stuff to spawn so it can reuse error handlingisanae2019-09-191-10/+135
| | | | | removed unused helper::init() removed logging when deleting a credential that doesn't exist, happens all the time
* moved all spawn dialogs into a namespaceisanae2019-09-131-187/+223
| | | | | | | starting steam with spawn() instead of QProcess dialogs for bad steam registry key and failure refactored credentials code, added logging add environment variables to env
* refactored steam handlingisanae2019-09-121-86/+157
|
* testForSteam() now uses env to get processesisanae2019-09-121-50/+12
| | | | moved processes from env.cpp to envmodule.cpp, merged what crash dumps did with what was in testForSteam()
* made SpawnParameters public, changed to Qt typesisanae2019-09-121-60/+32
| | | | removed 'suspended', not used
* split spawnBinaryProcess() into spawn, no changesisanae2019-09-121-2/+308
|
* rewritten spawn() to use std::wstring instead of manual buffersisanae2019-09-111-107/+307
| | | | error dialogs now use TaskDialog with more user-friendly text
* Correcting minor spelling mistakes in the UI + add contributorMatte A2019-06-231-1/+1
|
* Removed old debugline.Al2019-06-191-1/+0
|
* Fix or ignore a number of compiler warnings.Al2019-01-111-1/+1
|
* Fix typoLostDragonist2018-12-271-1/+1
|
* Relaunch MO as admin when elevation is requiredLostDragonist2018-12-251-11/+19
| | | | Previously, a new process of MO would be created as administrator when elevation was required. This had some unwanted side effects. The GUI lock would not function. The virtual file system would likely break as the non-admin process could not access data from the new admin instance.
* Escape quotes in arguments when elevating MOLostDragonist2018-12-211-1/+2
|
* Added debug line to check actual processed parameters passed to ↵Al12rs2018-09-081-0/+3
| | | | CreateProcessHooked() to see if we can discover somethig more on Parameter is incorrect error.
* Revert "Applied clang-format on source"Sandro Jäckel2018-02-231-108/+118
| | | | This reverts commit 5e5c9c07291f6b09623d31c92b1fb61c4ede576e.
* Applied clang-format on sourceSandro Jäckel2018-02-221-118/+108
|
* removed obsolete stuffTannin2016-05-161-1/+0
|
* fixed browse-button for mod directory (in settings)Tannin2016-02-091-1/+1
|
* fixed display of process name in unlock-widgetTannin2016-02-091-43/+1
|
* Merge branch 'master' into new_vfs_libraryTannin2015-12-071-2/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gameinfoimpl.cpp src/installationmanager.cpp src/mainwindow.cpp src/organizercore.cpp src/organizercore.h src/organizerproxy.cpp src/organizerproxy.h src/savegamegamebryo.cpp src/savegamegamebyro.h src/selfupdater.h src/shared/fallout3info.cpp src/shared/fallout3info.h src/shared/falloutnvinfo.cpp src/shared/falloutnvinfo.h src/shared/gameinfo.cpp src/shared/gameinfo.h src/shared/oblivioninfo.cpp src/shared/oblivioninfo.h src/shared/skyriminfo.cpp src/shared/skyriminfo.h src/spawn.cpp src/transfersavesdialog.cpp
| * Replace last occurrence of GameInfo::getNexusGameID and remove a whole load ↵Thomas Tanner2015-11-261-3/+5
| | | | | | | | of gameinfo.h includes
* | - no longer displaying "not logged in". This was too confusing for someTannin2015-12-071-2/+0
| | | | | | | | | | | | | | | | | | - fixed files missing from vfs if parent directory exists in real destination dir - implemented plugin api to access current profile - steam game detection now also works for 64-bit games - removed reference to archive tab from tutorial - usvfs log level is now taken from config - some cleanup
* | first work on interfacing with usvfsTannin2015-11-171-17/+29
|/