Motion Master 6.0.0-alpha.111
Next-generation motion control software
Loading...
Searching...
No Matches
capture_runner.cc File Reference
#include "capture_runner.h"
#include <spdlog/spdlog.h>
#include <chrono>
#include <ctime>
#include <fstream>
#include <string>
#include <vector>
#include "core/child_process.h"
Include dependency graph for capture_runner.cc:

Namespaces

namespace  mm
 

Functions

std::filesystem::path mm::captureBinaryName ()
 The file name of the capture program beside the server binary, with the platform's executable suffix.
 
std::expected< std::filesystem::path, std::string > mm::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.