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 {
63 Exec(
const std::string& executable_path,
const std::vector<std::string>& args, ExecOptions&& options = {});
71 const std::string& executable_path,
72 const std::vector<std::string>& args,
75 const std::optional<std::string>& stdout_file =
std::
nullopt,
76 const std::optional<std::string>& stderr_file =
std::
nullopt
86 const std::string& executable_path,
87 const std::vector<std::string>& args,
90 const std::optional<std::string>& stdout_file =
std::
nullopt,
91 const std::optional<std::string>& stderr_file =
std::
nullopt
95 ev::ThreadControl& thread_control_;