equal
deleted
inserted
replaced
1563 #elif defined(SOLARIS) |
1563 #elif defined(SOLARIS) |
1564 tty->print ("/usr/bin/sh -c "); |
1564 tty->print ("/usr/bin/sh -c "); |
1565 #endif |
1565 #endif |
1566 tty->print_cr("\"%s\"...", cmd); |
1566 tty->print_cr("\"%s\"...", cmd); |
1567 |
1567 |
1568 if (os::fork_and_exec(cmd) < 0) { |
1568 if (os::fork_and_exec(cmd, true) < 0) { |
1569 tty->print_cr("os::fork_and_exec failed: %s (%s=%d)", |
1569 tty->print_cr("os::fork_and_exec failed: %s (%s=%d)", |
1570 os::strerror(errno), os::errno_name(errno), errno); |
1570 os::strerror(errno), os::errno_name(errno), errno); |
1571 } |
1571 } |
1572 } |
1572 } |
1573 } |
1573 } |