| 155 | } |
| 156 | |
| 157 | int Coprocess::wait () |
| 158 | { |
| 159 | int status = 0; |
| 160 | if (waitpid(pid, &status, 0) == -1) { |
| 161 | throw System_error("waitpid", "", errno); |
| 162 | } |
| 163 | return status; |
| 164 | } |
| 165 | |
| 166 | size_t Coprocess::write_stdin (void* handle, const void* buf, size_t count) |
| 167 | { |
no test coverage detected