Finality Engine
Loading...
Searching...
No Matches
Process.h
Go to the documentation of this file.
1
11#pragma once
12
13#include "Core.h"
14#include <filesystem>
15#include <string>
16#include <vector>
17
18namespace FINALITY
19{
22 {
23 int ExitCode = -1;
24 std::string Output;
25 };
26
37 {
38 public:
39 static ProcessResult Run(const std::vector<std::wstring>& arguments, const std::filesystem::path& directory);
40 static std::filesystem::path ExecutablePath();
41 };
42}
#define FAPI
Definition Core.h:22
Runs external tools with captured diagnostics.
Definition Process.h:37
static ProcessResult Run(const std::vector< std::wstring > &arguments, const std::filesystem::path &directory)
static std::filesystem::path ExecutablePath()
Exit status and captured diagnostic output from an external tool invocation.
Definition Process.h:22
std::string Output
Definition Process.h:24