| 61 | } |
| 62 | |
| 63 | void set_env_required(const char * key, const std::string & value) { |
| 64 | if (setenv(key, value.c_str(), 1) != 0) { |
| 65 | throw std::runtime_error("failed to set environment variable: " + std::string(key)); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | std::string option_text(const engine::io::json::Value & value) { |
| 70 | if (value.is_bool()) { |