]> git.localhorst.tv Git - blank.git/blobdiff - src/app/Process.hpp
test for invoking with unknown argument
[blank.git] / src / app / Process.hpp
index 3efe96383ef36bae5956c18754a26ba3d7385447..490cf07103a7c2338ca1e170168042bb2ad2e933 100644 (file)
@@ -10,13 +10,17 @@ namespace blank {
 
 class Process {
 
+public:
+       using Arguments = std::vector<std::string>;
+       using Environment = std::vector<std::string>;
+
 public:
        /// launch process executing the file at given path with
        /// given arguments and environment
        Process(
                const std::string &path,
-               const std::vector<std::string> &args,
-               const std::vector<std::string> &env);
+               const Arguments &args,
+               const Environment &env);
        ~Process();
 
 public: