proxygen
|
#include <fcntl.h>
#include <signal.h>
#include <sys/types.h>
#include <glog/logging.h>
#include <folly/Conv.h>
#include <folly/Subprocess.h>
#include <folly/portability/GFlags.h>
#include <folly/portability/Unistd.h>
Go to the source code of this file.
Functions | |
DEFINE_bool (child, false,"") | |
void | runChild (const char *file) |
void | runParent (const char *file) |
int | main (int argc, char *argv[]) |
DEFINE_bool | ( | child | , |
false | , | ||
"" | |||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 73 of file SubprocessTestParentDeathHelper.cpp.
References runChild(), and runParent().
void runChild | ( | const char * | file | ) |
Definition at line 44 of file SubprocessTestParentDeathHelper.cpp.
References folly::sig.
Referenced by main(), and folly::Subprocess::spawnInternal().
void runParent | ( | const char * | file | ) |
Definition at line 62 of file SubprocessTestParentDeathHelper.cpp.
References folly::Subprocess::poll(), and folly::ProcessReturnCode::running().
Referenced by main().