diff --git a/src/osgPresentation/PickEventHandler.cpp b/src/osgPresentation/PickEventHandler.cpp index 797c4a2f9..e32457685 100644 --- a/src/osgPresentation/PickEventHandler.cpp +++ b/src/osgPresentation/PickEventHandler.cpp @@ -161,10 +161,21 @@ void PickEventHandler::doOperation() } #endif + + bool commandRunsInBackground = (_command.find("&")!=std::string::npos); + int result = system(_command.c_str()); OSG_INFO<<"system("<<_command<<") result "<