Apache Mesos
Classes | Namespaces | Functions
exec.hpp File Reference
#include <process.h>
#include <processthreadsapi.h>
#include <synchapi.h>
#include <userenv.h>
#include <stdarg.h>
#include <algorithm>
#include <array>
#include <map>
#include <string>
#include <vector>
#include <stout/error.hpp>
#include <stout/foreach.hpp>
#include <stout/none.hpp>
#include <stout/option.hpp>
#include <stout/os.hpp>
#include <stout/try.hpp>
#include <stout/windows.hpp>
#include <stout/os/int_fd.hpp>
#include <stout/os/pipe.hpp>
#include <stout/internal/windows/inherit.hpp>

Go to the source code of this file.

Classes

struct  os::windows::internal::ProcessData
 

Namespaces

 os
 
 os::windows
 
 os::windows::internal
 

Functions

Option< std::map< std::wstring, std::wstring > > os::windows::internal::get_system_env ()
 
Option< std::wstring > os::windows::internal::create_process_env (const Option< std::map< std::string, std::string >> &env)
 
std::wstring os::windows::internal::stringify_args (const std::vector< std::string > &argv)
 
Try< ProcessDataos::windows::internal::create_process (const std::string &command, const std::vector< std::string > &argv, const Option< std::map< std::string, std::string >> &environment, const bool create_suspended=false, const Option< std::array< int_fd, 3 >> &pipes=None(), const std::vector< int_fd > &whitelist_fds={})
 
Option< int > os::spawn (const std::string &command, const std::vector< std::string > &arguments, const Option< std::map< std::string, std::string >> &environment=None())
 
int os::execvp (const std::string &file, const std::vector< std::string > &argv)
 
int os::execvpe (const std::string &file, const std::vector< std::string > &argv, const std::map< std::string, std::string > &envp)