| 2158 | } |
| 2159 | |
| 2160 | static int sp_stdin_run(cbm_proc_opts_t *opts, cbm_proc_result_t *result) { |
| 2161 | const char *argv[] = {sp_stdout_test_binary, "__cbm_subprocess_stdin_probe", "echo", "", NULL}; |
| 2162 | opts->bin = sp_stdout_test_binary; |
| 2163 | opts->argv = argv; |
| 2164 | opts->quiet_timeout_ms = 10000; /* Finite containment guard, not a timing oracle. */ |
| 2165 | return cbm_subprocess_run(opts, result); |
| 2166 | } |
| 2167 | |
| 2168 | typedef struct { |
| 2169 | bool prepared; |
no test coverage detected