Is it possible to double-fork a process in Java?
daemon, fork, java, linux
Solution
You will need to write a small C or C++ program to do the extra fork, setsid, all that stuff.
Problem
I need to double-fork vmware so it doesn't inherit the terminal ID (TTY/pts). This is what I have so far, but I can't get access to the `runtime.exec` process to fork another process (which removes the terminal ID). ``` Runtime runtime = Runtime.getRuntime(); Process proc = runtime.exec("vmware"); ``` Is there a way to "daemonize" in Java?