summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 44fcb3d..fcfbafd 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -209,6 +209,16 @@ public:
int* retVal = 0, const char* dir = 0,
bool verbose = true,
double timeout = 0.0);
+ /**
+ * In this version of RunSingleCommand, command[0] should be
+ * the command to run, and each argument to the command should
+ * be in comand[1]...command[command.size()]
+ */
+ static bool RunSingleCommand(std::vector<cmStdString> const& command,
+ std::string* output = 0,
+ int* retVal = 0, const char* dir = 0,
+ bool verbose = true,
+ double timeout = 0.0);
/**
* Parse arguments out of a single string command