-#else // __EMX__
- spawnlp(P_NOWAIT, "cmd.exe", "cmd.exe", "/c", command.c_str(), NULL);
-#endif // !__EMX__
-}
-
-
-string textPropertyToString(Display *display, XTextProperty& text_prop) {
- string ret;
-
- if (text_prop.value && text_prop.nitems > 0) {
- if (text_prop.encoding == XA_STRING) {
- ret = (char *) text_prop.value;
- } else {
- text_prop.nitems = strlen((char *) text_prop.value);
-
- char **list;
- int num;
- if (XmbTextPropertyToTextList(display, &text_prop,
- &list, &num) == Success &&
- num > 0 && *list) {
- ret = *list;
- XFreeStringList(list);
- }
- }
- }
-
- return ret;
+//#else // __EMX__
+// spawnlp(P_NOWAIT, "cmd.exe", "cmd.exe", "/c", command.c_str(), NULL);
+//#endif // !__EMX__