I have a java program which uses Runtime.exec() to spawn a child process, but I need to be able to programatically suspend it and then start it running again from where it left off. The Java Process object doesn’t seem to provide any way to do that. Does anyone know how I might accomplish this?
Thank you
Under UNIX you can Runtime.exec + kill -STOP and -CONT to suspend and resume a process, without using JNI.