folly::SubprocessSpawnError::SubprocessSpawnError

Constructs the error for a subprocess that could not be started.

Synopsis

Declared in <folly/Subprocess.h>

SubprocessSpawnError(
    char const* executable,
    int errCode,
    int errnoValue);

Parameters

NameDescription
executableThe executable that failed to spawn.
errCodeAn internal code identifying the failed step.
errnoValueThe errno value captured at the point of failure.