The java program in question needs to run for a few minutes, write a temporary file and then terminate. So PHP must allow it run in background , instead of the exec
way of waiting for that program to terminate.
What is a cross-platform way of doing this?