From 43b59eb055df073a9a74173d79f5d6fe41322504 Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Thu, 9 Apr 2020 17:03:34 +0300 Subject: Execute system commands without invoking system shell Added a missed ```child``` parameter to the list of ```executeBackground``` params in docs --- include/mts/MTS_System.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include/mts/MTS_System.h') diff --git a/include/mts/MTS_System.h b/include/mts/MTS_System.h index cd9b9dd..d51a5ea 100644 --- a/include/mts/MTS_System.h +++ b/include/mts/MTS_System.h @@ -84,10 +84,11 @@ namespace MTS { * list of arguments bypasing the system shell. If succeded, information about the spawned * process is written to the \p child structure. * - * \param cmd name of the application to be executed - * \param argv vector of arguments (excluding argument zero) - * \param type open pipe for read from child or write to child - * \return true on success, false on failure + * \param cmd name of the application to be executed + * \param argv vector of arguments (excluding argument zero) + * \param type open pipe for read from child or write to child + * \param child on success is populated with child process information, on failure is not defined + * \return true on success, false on failure */ static bool executeBackground(const std::string& cmd, const std::vector& argv, PipeType type, ChildHandle& child); -- cgit v1.2.3