/*** Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved. File: StartupParmaters.hpp Date: 2022-1-29 Author: Reece ***/ #pragma once namespace Aurora::Processes { struct StartupParmaters { /** * @brief Relative or absolute path to the executable binary */ AuString process; /** * @brief Raw arguments (argv[1]...) */ AuList args; /** * @brief Child possession type */ enum ESpawnType type; /** * @brief Enables stdout ipc to parent */ bool fwdOut {}; /** * @brief Enables stderr ipc to parent */ bool fwdErr {}; /** * @brief Enables stdin ipc from parent (us) to child */ bool fwdIn {}; /** * @brief Effectively is user facing. * Under Windows GUI, this means hides conhost. * Under ConsoleApps, this means blank the childs output handles. */ bool noShowConsole {}; }; }