Core/Process: Add Exists function
This commit is contained in:
committed by
Jérôme Leclercq
parent
b0648918a7
commit
b63c9fcc49
@@ -29,6 +29,7 @@ namespace Nz
|
||||
Process& operator=(const Process&) = delete;
|
||||
Process& operator=(Process&&) = delete;
|
||||
|
||||
static Result<bool, std::string> Exists(Pid pid);
|
||||
static Pid GetCurrentPid();
|
||||
static Result<Pid, std::string> SpawnDetached(const std::filesystem::path& program, std::span<const std::string> arguments = {}, const std::filesystem::path& workingDirectory = {});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user