| 435 | } |
| 436 | |
| 437 | void process::exec() |
| 438 | { |
| 439 | #ifndef _WIN32 |
| 440 | impl->check_exec(impl->get_command(), redirect_to(std::cout)); |
| 441 | #else |
| 442 | // clang-format off |
| 443 | impl->check_exec(impl->command, impl->cwd.string(), impl->args, impl->envs, |
| 444 | GetStdHandle(STD_OUTPUT_HANDLE)); |
| 445 | // clang-format on |
| 446 | #endif |
| 447 | } |
| 448 | |
| 449 | void process::write(std::function<void(writer)> pipe_in) |
| 450 | { |
no test coverage detected