< prev index next >

src/hotspot/share/utilities/vmError.cpp

Print this page

        

@@ -1563,11 +1563,11 @@
 #elif defined(SOLARIS)
     tty->print  ("/usr/bin/sh -c ");
 #endif
     tty->print_cr("\"%s\"...", cmd);
 
-    if (os::fork_and_exec(cmd) < 0) {
+    if (os::fork_and_exec(cmd, true) < 0) {
       tty->print_cr("os::fork_and_exec failed: %s (%s=%d)",
                      os::strerror(errno), os::errno_name(errno), errno);
     }
   }
 }
< prev index next >