| 1367 | |
| 1368 | template <typename... Args> |
| 1369 | Popen(const std::string& cmd_args, Args&& ...args): |
| 1370 | args_(cmd_args) |
| 1371 | { |
| 1372 | vargs_ = util::split(cmd_args); |
| 1373 | init_args(std::forward<Args>(args)...); |
| 1374 | |
| 1375 | // Setup the communication channels of the Popen class |
| 1376 | stream_.setup_comm_channels(); |
| 1377 | |
| 1378 | if (!defer_process_start_) execute_process(); |
| 1379 | } |
| 1380 | |
| 1381 | template <typename... Args> |
| 1382 | Popen(std::initializer_list<const char*> cmd_args, Args&& ...args) |
nothing calls this directly
no test coverage detected