mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Support feeding the child process data on stdin
This commit is contained in:
committed by
Dennis Klein
parent
9f325451e5
commit
3a1b769937
@@ -32,10 +32,13 @@ struct execute_result
|
||||
* and exit code.
|
||||
*
|
||||
* @param[in] cmd Command to execute
|
||||
* @param[in] log_prefix How to prefix each captured output line with
|
||||
* @param[in] prefix How to prefix each captured output line with
|
||||
* @param[in] input Data which is sent to stdin of the child process
|
||||
* @return Captured stdout output and exit code
|
||||
*/
|
||||
execute_result execute(const std::string& cmd, const std::string& prefix = "");
|
||||
execute_result execute(const std::string& cmd,
|
||||
const std::string& prefix = "",
|
||||
const std::string& input = "");
|
||||
|
||||
} /* namespace tools */
|
||||
} /* namespace mq */
|
||||
|
Reference in New Issue
Block a user