#include <process.h>
#include <stdarg.h>
#include <algorithm>
#include <map>
#include <ostream>
#include <string>
#include <tuple>
#include <vector>
#include <stout/error.hpp>
#include <stout/foreach.hpp>
#include <stout/option.hpp>
#include <stout/os.hpp>
#include <stout/os/int_fd.hpp>
#include <stout/try.hpp>
#include <stout/unimplemented.hpp>
#include <stout/windows.hpp>
Go to the source code of this file.
|
Option< std::map< std::wstring,
std::wstring > > | internal::windows::get_system_env () |
|
Option< std::wstring > | internal::windows::create_process_env (const Option< std::map< std::string, std::string >> &env) |
|
std::wstring | internal::windows::stringify_args (const std::vector< std::string > &argv) |
|
Try< ProcessData > | internal::windows::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::tuple< int_fd, int_fd, int_fd >> pipes=None()) |
|
template<typename... T> |
Try< std::string > | os::shell (const std::string &fmt, const T &...t) |
| Runs a shell command with optional arguments. More...
|
|
template<typename... T> |
int | os::execlp (const char *file, T...t) |
|
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::system (const std::string &command) |
|
int | os::execvp (const std::string &command, const std::vector< std::string > &argv) |
|
int | os::execvpe (const std::string &command, const std::vector< std::string > &argv, const std::map< std::string, std::string > &envp) |
|