mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 08:13:05 +00:00
launcher: option to close the terminal after a clean exit (#1869)
launcher: close the terminal after a clean exit and run several games at once Co-authored-by: nmzik <Nmzik@mail.ru>
This commit is contained in:
1 parent
8291cfeb04
commit
906d25568f
4 files changed
+87
-115
No files matched your search
@@ -149,7 +149,8 @@ int LoadExec(const char* path, const char* const argv[]) {
|
||||
}
|
||||
CloseHandle(process.hThread);
|
||||
CloseHandle(process.hProcess);
|
||||
std::quick_exit(0);
|
||||
// Nonzero, or the launcher's "cmd /K ... && exit" closes the console the new process shares.
|
||||
std::quick_exit(1);
|
||||
#else
|
||||
std::ifstream command("/proc/self/cmdline", std::ios::binary);
|
||||
std::vector<std::string> host_arguments;
|
||||
|
||||
Reference in new issue
Block a user