I\'m creating subprocesses in this way:
String command = new String(\"some_program\"); Process p = Runtime.getRuntime().exec(command);
How
I tried (and failed) to do this a while back. I ended up wrapping my command in a shell script that dumped the pid to a file. Not the best solution but it got me past this hurdle.