| 51 | } |
| 52 | |
| 53 | ShellCmdResult Shell::RunCommand(const std::string &cmd) { |
| 54 | /*boost::process::child proc(boost::process::search_path("osascript"), ToDo |
| 55 | std::vector<std::string> {"-e", "do shell script \"echo test\" with administrator privileges"}, |
| 56 | boost::process::std_out > outStream);*/ |
| 57 | return RunUserCommand(cmd); |
| 58 | } |
| 59 | |
| 60 | ShellCmdResult Shell::RunUserCommand(const std::string &cmd) { |
| 61 | #ifdef WINDOWS |
nothing calls this directly
no outgoing calls
no test coverage detected