Václav Kubernát | e2e15ee | 2020-02-05 17:38:13 +0100 | [diff] [blame] | 1 | /* |
2 | * Copyright (C) 2020 CESNET, https://photonics.cesnet.cz/ | ||||
3 | * | ||||
4 | * Written by Václav Kubernát <kubernat@cesnet.cz> | ||||
5 | * | ||||
6 | */ | ||||
7 | #include <boost/process.hpp> | ||||
8 | #include <string> | ||||
9 | |||||
10 | struct SshProcess { | ||||
11 | boost::process::child process; | ||||
12 | boost::process::pipe std_in; | ||||
13 | boost::process::pipe std_out; | ||||
14 | }; | ||||
15 | SshProcess sshProcess(const std::string& target, const std::string& port); |