diff options
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index d5566ba..a458b54 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -245,8 +245,12 @@ public: * Run an executable command and put the stdout in output. * A temporary file is created in the binaryDir for storing the * output because windows does not have popen. + * + * If verbose is false, no user-viewable output from the program + * being run will be generated. */ - static bool RunCommand(const char* command, std::string& output); + static bool RunCommand(const char* command, std::string& output, + bool verbose = true); ///! Generate a temporary file name static std::string TemporaryFileName(); |