Do you need to close a process opened by Java?

Viewed 130

Consider the following:

new ProcessBuilder(pathToSomeExectuable).start();

What will happen when the current Java application will be closed? In other words, is the Process running as daemon and will automatically closed? Or, do I need to call destroy()?

1 Answers
Related