Finality Engine
Loading...
Searching...
No Matches
FINALITY::Process Class Reference

Runs external tools with captured diagnostics. More...

#include <Process.h>

Static Public Member Functions

static ProcessResult Run (const std::vector< std::wstring > &arguments, const std::filesystem::path &directory)
static std::filesystem::path ExecutablePath ()

Detailed Description

Runs external tools with captured diagnostics.

ProcessResult contains the exit code and captured output. The argument-vector interface keeps file paths and tool options separate, including paths with spaces.

Usage
Run long-lived compilation work on a background task. Check ExitCode before using produced files and present Output when the tool reports a failure.

Definition at line 36 of file Process.h.

Member Function Documentation

◆ Run()

ProcessResult FINALITY::Process::Run ( const std::vector< std::wstring > & arguments,
const std::filesystem::path & directory )
static

◆ ExecutablePath()

std::filesystem::path FINALITY::Process::ExecutablePath ( )
static

The documentation for this class was generated from the following file: