summaryrefslogtreecommitdiff
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-06 11:02:10 -0500
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-06 11:02:10 -0500
commit65baaa0e37e114cf8e505c10d80ec3efaf3887ad (patch)
tree88d06d2be424e61c63c45b360f29a86e3a03f8a3 /Source/cmSystemTools.h
parent062cfd991faac000d484c74e5af7d65726c655dc (diff)
downloadcmake-65baaa0e37e114cf8e505c10d80ec3efaf3887ad.tar.gz
cmSystemTools::RunSingleCommand: Accept std::string argument
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 0f92fe2575..798bcbaf38 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -224,7 +224,7 @@ public:
OUTPUT_FORWARD,
OUTPUT_PASSTHROUGH
};
- static bool RunSingleCommand(const char* command,
+ static bool RunSingleCommand(const std::string& command,
std::string* captureStdOut = nullptr,
std::string* captureStdErr = nullptr,
int* retVal = nullptr,