AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
AProcess::ProcessCreationInfo Struct Reference

Process creation info. More...

#include <AUI/Platform/AProcess.h>

Signals and public fields

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

Detailed Description

Process creation info.

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.


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