Restructured the system() fallback to be usable for C and C++

This commit is contained in:
Robert Osfield
2018-01-21 12:09:49 +00:00
parent 9cc2bab737
commit 18d5a9159f
10 changed files with 59 additions and 33 deletions

View File

@@ -120,7 +120,7 @@ void KeyEventHandler::doOperation()
bool commandRunsInBackground = (_command.find("&")!=std::string::npos);
int result = osg::system(_command.c_str());
int result = osg_system(_command.c_str());
OSG_INFO<<"system("<<_command<<") result "<<result<<std::endl;