ENH: Use new RunCommand

This commit is contained in:
Andy Cedilnik 2003-08-03 22:41:34 -04:00
parent 41feb1f86b
commit 2c33b3db65
1 changed files with 2 additions and 2 deletions

View File

@ -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())