summaryrefslogtreecommitdiff
path: root/src/spawn.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [pre-commit.ci] Pre-commit autoupdate. (#2357)pre-commit-ci[bot]2026-04-091-7/+7
| | | | | | | | | | | | * [pre-commit.ci] Pre-commit autoupdate. updates: - [github.com/pre-commit/mirrors-clang-format: v21.1.8 → v22.1.2](https://github.com/pre-commit/mirrors-clang-format/compare/v21.1.8...v22.1.2) * [pre-commit.ci] Auto fixes from pre-commit.com hooks. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Move to VCPKG (#2068)Mikaël Capelle2025-05-291-5/+4
| | | | | | | | | * Remove SConscript related files. * Force-load translations from uibase and gamebryo/creation. * Bring githubpp here and add a standalone preset. * Switch VersionInfo -> Version for ModOrganizer2. (#2063) * Add pre-commit hook. * Use 7zip build from VCPKG registry. * Use archive.dll from the bin folder instead of dlls.
* Update following USVFS move to VCPKG. (#2244)Mikaël Capelle2025-05-221-1/+1
|
* Update for new USVFS function scheme. (#2044)Mikaël Capelle2024-06-091-3/+3
| | | | | * Update for new USVFS function scheme. * Fix call to usvfsVersionString(). * Move USVFS to mo2 dependencies instead of third party in CI.
* Switch from fmtlib to std::format. (#2031)Mikaël Capelle2024-05-251-35/+21
| | | | | * Switch from fmtlib to std::format. * Remove libffi from dependencies in Github action.
* Apply clang-format.Mikaël Capelle2023-07-091-391/+319
|
* Convert everything to CRLF.Mikaël Capelle2023-07-091-1082/+1082
|
* Update following cmake_common changes.Mikaël Capelle2022-04-191-0/+1
| | | | | | | # Conflicts: # CMakeLists.txt # src/CMakeLists.txt # src/organizer_en.ts
* First pass for Qt6 compatibilityJeremy Rimpo2022-04-191-4/+4
|
* Don't blacklist empty usernames and passwordsChris Bessent2021-11-251-2/+4
|
* Blacklist Steam username and password from the logChris Bessent2021-11-231-0/+2
|
* 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.