changeset 52109 | 101c2b6eacbe |
parent 51834 | 5dd9f3ac52a4 |
child 52115 | 9e6158f12068 |
--- a/src/hotspot/share/utilities/vmError.cpp Fri Oct 12 10:58:06 2018 +0200 +++ b/src/hotspot/share/utilities/vmError.cpp Tue Oct 09 16:08:07 2018 +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); }