Hi,
I have a requirement to run a
java program in background.
I have a scenario where another java program runs and lists all the java programs running on a machine.
And if program "A" is not running it starts it in background using javaw; program "A" is part of a jar file.
What are the typical error scenarios that has to be handled in cases like this? And how do i handle clean shutdown of the background program?