a/src/execmd.h b/src/execmd.h
...
...
136
     */
136
     */
137
    int startExec(const std::string &cmd, const std::vector<std::string>& args, 
137
    int startExec(const std::string &cmd, const std::vector<std::string>& args, 
138
          bool has_input, bool has_output);
138
          bool has_input, bool has_output);
139
    int send(const std::string& data);
139
    int send(const std::string& data);
140
    int receive(std::string& data, int cnt = -1);
140
    int receive(std::string& data, int cnt = -1);
141
    int getline(std::string& data);
141
    int getline(std::string& data, int timeosecs = -1);
142
    int wait();
142
    int wait();
143
    /** Wait with WNOHANG set. 
143
    /** Wait with WNOHANG set. 
144
    @return true if process exited, false else.
144
    @return true if process exited, false else.
145
    @param O: status, the wait(2) call's status value */
145
    @param O: status, the wait(2) call's status value */
146
    bool maybereap(int *status);
146
    bool maybereap(int *status);