]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/utilsunx.cpp
XmNframeChildType is not in Lesstif if it was compiled with Motif 1.2
[wxWidgets.git] / src / unix / utilsunx.cpp
index 6ff5e309846c2ad6bd7faac8c834a84c379f8fe9..53f09c4b840067d23b0e2d2f50cf436925d8eaab 100644 (file)
@@ -563,12 +563,10 @@ long wxExecute(wxChar **argv,
     }
 
     // fork the process
-#ifdef HAVE_VFORK
-    pid_t pid = vfork();
-#else
+    //
+    // NB: do *not* use vfork() here, it completely breaks this code for some
+    //     reason under Solaris (and maybe others, although not under Linux)
     pid_t pid = fork();
-#endif
-
     if ( pid == -1 )     // error?
     {
         wxLogSysError( _("Fork failed") );