--- old/src/hotspot/share/utilities/vmError.cpp 2018-10-04 14:38:58.803316187 +0530 +++ new/src/hotspot/share/utilities/vmError.cpp 2018-10-04 14:38:58.679316187 +0530 @@ -1565,7 +1565,7 @@ #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); }