#include <util/syserror.h>
#include <algorithm>
#include <cassert>
#include <csignal>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <exception>
#include <future>
#include <initializer_list>
#include <iostream>
#include <locale>
#include <map>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include <sys/wait.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
Go to the source code of this file.
|
void | subprocess::util::quote_argument (const std::wstring &argument, std::wstring &command_line, bool force) |
|
static std::vector< std::string > | subprocess::util::split (const std::string &str, const std::string &delims=" \t") |
|
static void | subprocess::util::set_clo_on_exec (int fd, bool set=true) |
|
static std::pair< int, int > | subprocess::util::pipe_cloexec () noexcept(false) |
|
static int | subprocess::util::write_n (int fd, const char *buf, size_t length) |
|
static int | subprocess::util::read_atmost_n (FILE *fp, char *buf, size_t read_upto) |
|
static int | subprocess::util::read_all (FILE *fp, std::vector< char > &buf) |
|
static std::pair< int, int > | subprocess::util::wait_for_child_exit (int pid) |
|