carb::launcher::fLaunchFlagMessageMode

Defined in carb/launcher/ILauncher.h

constexpr LauncherFlags carb::launcher::fLaunchFlagMessageMode = 0x00000008

Flag to indicate that reading from the stdout or stderr streams of the child process should be handled as a message stream.

Data will not be delivered to the stream callback until a complete message has been received. A message is considered to be the contents of a single write call on the child’s process side (up to a reasonable limit). The data passed to the callbacks may be split into multiple messages if a very large message is sent in a single write call. On Linux at least, this message limit is 4KB. The message mode may not be changed after the child process has been launched.

Note

[Windows] This mode is not currently supported on Windows. This may be fixed in a future version of the interface.