summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-15 18:30:10 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-15 19:40:55 (GMT)
commitee6e4ac841d8094b59cd0a48c61d7ca3b68c68c2 (patch)
tree80e2f1de5cd9711726ab9951a32d1e16e6984a76 /Source/cmSystemTools.h
parent2d072069e2ef44780c214c847285df8ed8e70bba (diff)
downloadCMake-ee6e4ac841d8094b59cd0a48c61d7ca3b68c68c2.zip
CMake-ee6e4ac841d8094b59cd0a48c61d7ca3b68c68c2.tar.gz
CMake-ee6e4ac841d8094b59cd0a48c61d7ca3b68c68c2.tar.bz2
cmSystemTools: Add RunSingleCommand overload for std::vector<std::string>
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 69f6381..95c7029 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -228,6 +228,11 @@ public:
* the command to run, and each argument to the command should
* be in comand[1]...command[command.size()]
*/
+ static bool RunSingleCommand(std::vector<std::string> const& command,
+ std::string* output = 0,
+ int* retVal = 0, const char* dir = 0,
+ OutputOption outputflag = OUTPUT_MERGE,
+ double timeout = 0.0);
static bool RunSingleCommand(std::vector<cmStdString> const& command,
std::string* output = 0,
int* retVal = 0, const char* dir = 0,