AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
AProcess::ProcessCreationInfo Struct Reference

Process creation info. More...

Detailed Description

Process creation info.

Signals and public fields

APath executable
 
std::variant< ArgSingleString, ArgStringListargs
 
APath workDir
 

Member Data Documentation

◆ args

std::variant<ArgSingleString, ArgStringList> AProcess::ProcessCreationInfo::args

Child process arguments.

In common, prefer Args variant.

Unix native APIs use arguments as array of strings. If ArgSingleString variant is chosen, AUI splits it with whitespaces.

Windows native APIs use arguments as a single string. If ArgStringList variant is chosen, AUI converts array of strings to a single command line string value. See ArgStringList for details of this conversion.

◆ executable

APath AProcess::ProcessCreationInfo::executable

Target executable file. Mandatory.

◆ workDir

APath AProcess::ProcessCreationInfo::workDir

Process working directory. Defaults to working directory of the calling process.

#include <AUI/Platform/AProcess.h>


The documentation for this struct was generated from the following file:
Collaboration diagram for AProcess::ProcessCreationInfo: