cmExtraEclipseCDT4Generator: Replace RunCommand with RunSingleCommand

Avoid use of the old cmSystemTools::RunCommand by using RunSingleCommand
instead.
This commit is contained in:
Brad King 2013-10-18 14:43:42 -04:00
parent 919e1e8453
commit f551135208
1 changed files with 1 additions and 1 deletions

View File

@ -1132,7 +1132,7 @@ cmExtraEclipseCDT4Generator::GetEclipsePath(const std::string& path)
#if defined(__CYGWIN__) #if defined(__CYGWIN__)
std::string cmd = "cygpath -m " + path; std::string cmd = "cygpath -m " + path;
std::string out; std::string out;
if (!cmSystemTools::RunCommand(cmd.c_str(), out, 0, false)) if (!cmSystemTools::RunSingleCommand(cmd.c_str(), &out))
{ {
return path; return path;
} }