proxygen
Subprocess.cpp File Reference
#include <folly/Subprocess.h>
#include <fcntl.h>
#include <algorithm>
#include <array>
#include <system_error>
#include <boost/container/flat_set.hpp>
#include <boost/range/adaptors.hpp>
#include <glog/logging.h>
#include <folly/Conv.h>
#include <folly/Exception.h>
#include <folly/ScopeGuard.h>
#include <folly/String.h>
#include <folly/io/Cursor.h>
#include <folly/lang/Assume.h>
#include <folly/portability/Sockets.h>
#include <folly/portability/Stdlib.h>
#include <folly/portability/SysSyscall.h>
#include <folly/portability/Unistd.h>
#include <folly/system/Shell.h>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Macros

#define _GNU_SOURCE
 

Functions

static std::string folly::toSubprocessSpawnErrorMessage (char const *executable, int errCode, int errnoValue)
 

Variables

constexpr int kExecFailure = 127
 
constexpr int kChildFailure = 126
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 18 of file Subprocess.cpp.

Variable Documentation

int errCode

Definition at line 224 of file Subprocess.cpp.

int errnoValue
constexpr int kChildFailure = 126

Definition at line 50 of file Subprocess.cpp.

Referenced by folly::Subprocess::spawnInternal().

constexpr int kExecFailure = 127