Restructured the system() fallback to be usable for C and C++
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user