25std::expected<std::filesystem::path, std::string>
runCapture(
const std::filesystem::path& binary,
28 const std::filesystem::path& dir);
adapter
Definition config.h:230
std::expected< std::filesystem::path, std::string > runCapture(const std::filesystem::path &binary, const std::string &adapter, int seconds, const std::filesystem::path &dir)
Runs binary to record adapter for seconds into a new file under dir, and waits for it to exit.
Definition capture_runner.cc:50
std::filesystem::path captureBinaryName()
The file name of the capture program beside the server binary, with the platform's executable suffix.
Definition capture_runner.cc:42