mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
ENH: Use new RunCommand
This commit is contained in:
@@ -102,8 +102,8 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string> const& args)
|
||||
nslookup_cmd += " ";
|
||||
nslookup_cmd += host;
|
||||
std::string nsOutput;
|
||||
cmSystemTools::RunCommand(nslookup_cmd.c_str(),
|
||||
nsOutput);
|
||||
cmSystemTools::RunSingleCommand(nslookup_cmd.c_str(),
|
||||
&nsOutput);
|
||||
|
||||
// got the domain name
|
||||
if (nsOutput.length())
|
||||
|
||||
Reference in New Issue
Block a user