| 3523 | } |
| 3524 | |
| 3525 | static int cbm_build_augment_command_windows(const char *binary_path, char *out, size_t out_size) { |
| 3526 | char quoted[CLI_BUF_8K]; |
| 3527 | if (cbm_powershell_quote_word(binary_path, quoted, sizeof(quoted)) != CLI_OK) { |
| 3528 | return CLI_ERR; |
| 3529 | } |
| 3530 | int written = snprintf(out, out_size, "& %s hook-augment", quoted); |
| 3531 | return written > 0 && (size_t)written < out_size ? CLI_OK : CLI_ERR; |
| 3532 | } |
| 3533 | |
| 3534 | static int cbm_build_dialect_hook_command(const char *binary_path, const char *dialect, |
| 3535 | bool windows, char *command, size_t command_size, |
no test coverage detected