< prev index next >

src/hotspot/os/solaris/os_solaris.cpp

Print this page

        

@@ -5250,11 +5250,11 @@
 
 // Run the specified command in a separate process. Return its exit value,
 // or -1 on failure (e.g. can't fork a new process).
 // Unlike system(), this function can be called from signal handler. It
 // doesn't block SIGINT et al.
-int os::fork_and_exec(char* cmd) {
+int os::fork_and_exec(char* cmd, bool use_vfork_if_available) {
   char * argv[4];
   argv[0] = (char *)"sh";
   argv[1] = (char *)"-c";
   argv[2] = cmd;
   argv[3] = NULL;
< prev index next >