< prev index next >
src/hotspot/os/windows/os_windows.cpp
Print this page
*** 5252,5262 ****
SetEvent(_ParkEvent);
}
// Run the specified command in a separate process. Return its exit value,
// or -1 on failure (e.g. can't create a new process).
! int os::fork_and_exec(char* cmd) {
STARTUPINFO si;
PROCESS_INFORMATION pi;
DWORD exit_code;
char * cmd_string;
--- 5252,5262 ----
SetEvent(_ParkEvent);
}
// Run the specified command in a separate process. Return its exit value,
// or -1 on failure (e.g. can't create a new process).
! int os::fork_and_exec(char* cmd, bool use_vfork_if_available) {
STARTUPINFO si;
PROCESS_INFORMATION pi;
DWORD exit_code;
char * cmd_string;
< prev index next >