Root/
| 1 | #ifndef LAUNCHER_H |
| 2 | #define LAUNCHER_H |
| 3 | |
| 4 | #include <string> |
| 5 | #include <vector> |
| 6 | |
| 7 | |
| 8 | class Launcher |
| 9 | { |
| 10 | public: |
| 11 | Launcher(std::vector<std::string> const& commandLine, |
| 12 | bool consoleApp = true); |
| 13 | Launcher(std::vector<std::string> && commandLine, |
| 14 | bool consoleApp = true); |
| 15 | |
| 16 | void exec(); |
| 17 | |
| 18 | private: |
| 19 | std::vector<std::string> commandLine; |
| 20 | bool consoleApp; |
| 21 | }; |
| 22 | |
| 23 | #endif // LAUNCHER_H |
| 24 |
Branches:
install_locations
master
opkrun
packages
