Apache Mesos
Namespaces | Functions | Variables
shell.hpp File Reference
#include <stdarg.h>
#include <stdio.h>
#include <sys/wait.h>
#include <ostream>
#include <string>
#include <glog/logging.h>
#include <stout/error.hpp>
#include <stout/format.hpp>
#include <stout/none.hpp>
#include <stout/option.hpp>
#include <stout/try.hpp>

Go to the source code of this file.

Namespaces

 os
 
 os::Shell
 

Functions

template<typename... T>
Try< std::string > os::shell (const std::string &fmt, const T &...t)
 
Option< int > os::system (const std::string &command)
 

Variables

constexpr const char * os::Shell::name = "sh"
 
constexpr const char * os::Shell::arg0 = "sh"
 
constexpr const char * os::Shell::arg1 = "-c"