Do not remove inputs/captures following failed containment. Terminal handles * may be destroyed, but a nonquiescent tree's fixture is intentionally retained. */
| 2142 | /* Do not remove inputs/captures following failed containment. Terminal handles |
| 2143 | * may be destroyed, but a nonquiescent tree's fixture is intentionally retained. */ |
| 2144 | static bool sp_stdin_safe_run(int rc, const cbm_proc_result_t *result) { |
| 2145 | return result->tree_quiesced || |
| 2146 | (rc == -1 && result->outcome == CBM_PROC_SPAWN_FAILED && !result->supervision_failed); |
| 2147 | } |
| 2148 | |
| 2149 | static bool sp_stdin_finish(cbm_subprocess_t *process, cbm_proc_result_t *result) { |
| 2150 | bool terminal = sp_stdout_poll_terminal(process, result, cbm_now_ms() + 10000U); |
no outgoing calls
no test coverage detected