game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
ProcessResult Struct Reference

Result of process execution including exit code and output. More...

#include <process_executor.h>

Public Member Functions

 ProcessResult ()

Public Attributes

std::string command
 The command that was executed.
int exitCode
 Process exit code (0 = success).
std::string output
 Captured stdout (if requested).
bool success
 true if command executed successfully (exit code 0)

Detailed Description

Result of process execution including exit code and output.

Definition at line 46 of file process_executor.h.

Constructor & Destructor Documentation

◆ ProcessResult()

ProcessResult::ProcessResult ( )
inline

Definition at line 53 of file process_executor.h.

References exitCode, and success.

Member Data Documentation

◆ command

std::string ProcessResult::command

The command that was executed.

Definition at line 51 of file process_executor.h.

Referenced by ProcessExecutor::execute(), ProcessExecutor::executeBackground(), and ProcessExecutor::executeWithOutput().

◆ exitCode

int ProcessResult::exitCode

◆ output

std::string ProcessResult::output

◆ success


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