| 3007 | /* ── Download helper (shell-free curl via exec) ───────────────── */ |
| 3008 | |
| 3009 | static int cbm_download_to_file(const char *url, const char *dest) { |
| 3010 | const char *argv[] = {"curl", "-fSL", "--progress-bar", "-o", dest, url, NULL}; |
| 3011 | return cbm_exec_no_shell(argv); |
| 3012 | } |
| 3013 | |
| 3014 | static int cbm_download_to_file_quiet(const char *url, const char *dest) { |
| 3015 | const char *argv[] = {"curl", "-fsSL", "-o", dest, url, NULL}; |
no test coverage detected