// bbSetOutputOut( bbGetInputIn() );
// std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
+#if defined(_WIN32)
int pid=getpid();
char tmp[256];
- sprintf(tmp,"takkill /pid %d /T", pid);
+ sprintf(tmp,"taskkill /pid %d /F", pid);
system(tmp);
-// exit( bbGetInputIn() );
+#elif defined(__GNUC__)
+ exit( bbGetInputIn() );
+#else
+ exit( bbGetInputIn() );
+#endif
+
}
//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)