// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_CORE_POSIX_PROCESSIMPL_HPP #define NAZARA_CORE_POSIX_PROCESSIMPL_HPP #include #include namespace Nz::PlatformImpl { Pid GetCurrentProcessId(); Result SpawnDetachedProcess(const std::filesystem::path& program, std::span arguments = {}, const std::filesystem::path& workingDirectory = {}); } #endif // NAZARA_CORE_POSIX_PROCESSIMPL_HPP