10#include <userver/engine/subprocess/child_process.hpp>
11#include <userver/engine/subprocess/environment_variables.hpp>
12#include <userver/engine/task/task_processor_fwd.hpp>
14USERVER_NAMESPACE_BEGIN
20namespace engine::subprocess {
23struct ExecOptions
final {
62 ChildProcess
Exec(
const std::string& command,
const std::vector<std::string>& args, ExecOptions&& options = {});
70 const std::string& command,
71 const std::vector<std::string>& args,
74 const std::optional<std::string>& stdout_file =
std::
nullopt,
75 const std::optional<std::string>& stderr_file =
std::
nullopt
85 const std::string& command,
86 const std::vector<std::string>& args,
89 const std::optional<std::string>& stdout_file =
std::
nullopt,
90 const std::optional<std::string>& stderr_file =
std::
nullopt
94 ev::ThreadControl& thread_control_;