Hello, I launch nginx from a program that I've written in Java. On Windows, I see two processes with Task Manager. But with my Java application I can only control/close one of them.
How do I make them both close?
Java code with witch I start it:
[code]
process = Runtime.getRuntime().exec("nginx");
[/code]
Where "process" is an instance variable.
For turning it off I both tried using the "destory" method and sending a "quit" command to it.
How do I make them both close?
Java code with witch I start it:
[code]
process = Runtime.getRuntime().exec("nginx");
[/code]
Where "process" is an instance variable.
For turning it off I both tried using the "destory" method and sending a "quit" command to it.