source/check_lp.cpp file

Implementation of run_check_lp_diagnostic() and run_check_json_info()

Both public functions delegate to the private spawn_tool() helper, which provides a single, reusable posix_spawn-based mechanism for launching external gtopt tools safely (no shell, no injection surface, optional timeout wrapper, optional output capture).

Namespaces

namespace gtopt

Variables

bool exited_ok
true iff the child exited normally with status 0.
std::string output
Captured stdout+stderr — populated only when capture_output=true.
posix_spawn_file_actions_t value