ProcLib 0.0.1.0
A cross-platform process runner.
Loading...
Searching...
No Matches
Public Attributes | List of all members
pl::PlatformExitStatus Struct Reference

#include <process.hxx>

Public Attributes

PlatformExitKind kind = PlatformExitKind::Exited
 The kind of exit status reported by the OS.
 
int32_t value = -1
 The exit code if kind == Exited; the signal number if kind == Signaled.
 

Detailed Description

The raw exit status reported by the OS for a completed process. Deliberately does not know whether a stop was requested by the caller (terminate()/kill()) or not — only Process itself tracks that, so it can distinguish a requested stop from a crash.

Member Data Documentation

◆ kind

PlatformExitKind pl::PlatformExitStatus::kind = PlatformExitKind::Exited

The kind of exit status reported by the OS.

◆ value

int32_t pl::PlatformExitStatus::value = -1

The exit code if kind == Exited; the signal number if kind == Signaled.


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