< prev index next >

src/share/vm/utilities/vmError.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 1058,1068 **** #endif out.print_raw ("\""); out.print_raw (cmd); out.print_raw_cr("\" ..."); ! if (os::fork_and_exec(cmd) < 0) { out.print_cr("os::fork_and_exec failed: %s (%d)", strerror(errno), errno); } } // done with OnError --- 1058,1068 ---- #endif out.print_raw ("\""); out.print_raw (cmd); out.print_raw_cr("\" ..."); ! if (os::fork_and_exec(cmd, true) < 0) { out.print_cr("os::fork_and_exec failed: %s (%d)", strerror(errno), errno); } } // done with OnError
< prev index next >