equal
deleted
inserted
replaced
5252 SetEvent(_ParkEvent); |
5252 SetEvent(_ParkEvent); |
5253 } |
5253 } |
5254 |
5254 |
5255 // Run the specified command in a separate process. Return its exit value, |
5255 // Run the specified command in a separate process. Return its exit value, |
5256 // or -1 on failure (e.g. can't create a new process). |
5256 // or -1 on failure (e.g. can't create a new process). |
5257 int os::fork_and_exec(char* cmd) { |
5257 int os::fork_and_exec(char* cmd, bool use_vfork_if_available) { |
5258 STARTUPINFO si; |
5258 STARTUPINFO si; |
5259 PROCESS_INFORMATION pi; |
5259 PROCESS_INFORMATION pi; |
5260 DWORD exit_code; |
5260 DWORD exit_code; |
5261 |
5261 |
5262 char * cmd_string; |
5262 char * cmd_string; |