| 78 | |
| 79 | #ifndef _WIN32 |
| 80 | static cbm_proc_result_t run_sh(const char *script, int quiet_timeout_ms) { |
| 81 | const char *argv[] = {"/bin/sh", "-c", script, NULL}; |
| 82 | cbm_proc_opts_t opts = {0}; |
| 83 | opts.bin = "/bin/sh"; |
| 84 | opts.argv = argv; |
| 85 | opts.log_file = NULL; |
| 86 | opts.quiet_timeout_ms = quiet_timeout_ms; |
| 87 | cbm_proc_result_t r; |
| 88 | cbm_subprocess_run(&opts, &r); |
| 89 | return r; |
| 90 | } |
| 91 | #endif |
| 92 | |
| 93 | TEST(subprocess_run_clean) { |
no test coverage detected