UnleashedRecomp/UnleashedRecomp/os/process.h
2025-05-16 16:53:42 -07:00

14 lines
461 B
C++

#pragma once
namespace os::process
{
inline bool g_consoleVisible;
std::filesystem::path GetExecutablePath();
std::filesystem::path GetExecutableRoot();
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();
}