99 Process(
const Process &) =
delete;
100 Process & operator= (
const Process &) =
delete;
104 Process & setenv(
const std::string &,
const std::string &);
105 Process & clearenv();
106 Process & chdir(
const FSPath &);
107 Process & setuid_setgid(uid_t, gid_t);
109 Process & capture_stdout(std::ostream &);
110 Process & capture_stderr(std::ostream &);
111 Process & capture_output_to_fd(std::ostream &,
int fd_or_minus_one,
const std::string & env_var_with_fd);
112 Process & send_input_to_fd(std::istream &,
int fd_or_minus_one,
const std::string & env_var_with_fd);
113 Process & set_stdin_fd(
int);
114 Process & pipe_command_handler(
const std::string &,
const ProcessPipeCommandFunction &);
116 Process & use_ptys();
117 Process & echo_command_to(std::ostream &);
119 Process & prefix_stdout(
const std::string &);
120 Process & prefix_stderr(
const std::string &);
121 Process & extra_newlines_if_any_output_exists();
124 Process & sydbox(
const std::string &,
134 Process & as_main_process();