|
Motion Master 6.0.0-alpha.111
Next-generation motion control software
|
Runs the capture program for the POST /api/captures route.
More...
#include <expected>#include <filesystem>#include <string>Go to the source code of this file.
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. | |
Runs the capture program for the POST /api/captures route.