Fix logger eventually causing a crash without a console on Windows. (#481)

This commit is contained in:
Skyth (Asilkan)
2025-03-01 12:48:19 +03:00
committed by GitHub
parent 881712999c
commit 9e744ffded
6 changed files with 30 additions and 6 deletions
+3
View File
@@ -2,9 +2,12 @@
namespace os::process
{
inline bool g_consoleVisible;
std::filesystem::path GetExecutablePath();
std::filesystem::path GetWorkingDirectory();
bool SetWorkingDirectory(const std::filesystem::path& path);
bool StartProcess(const std::filesystem::path& path, const std::vector<std::string>& args, std::filesystem::path work = {});
void CheckConsole();
void ShowConsole();
}