DALi Version 1.9.7
[platform/core/uifw/dali-demo.git] / shared / execute-process-unix.cpp
index 6b87e54..aa77771 100644 (file)
 #include <unistd.h>
 #include <dali/public-api/common/dali-common.h>
 
-void ExecuteProcess( const std::string& processName )
+void ExecuteProcess( const std::string& processName, Dali::Application& application )
 {
   std::stringstream stream;
   stream << DEMO_EXAMPLE_BIN << processName.c_str();
   pid_t pid = fork();
-  if( pid == 0)
+  if( pid == 0 )
   {
     execlp( stream.str().c_str(), processName.c_str(), NULL );
     DALI_ASSERT_ALWAYS(false && "exec failed!");