Is there any way to start non-Java process from Java and then stop it? Or at least send some keyinput to it (e.g. alt+f4)?
E.g. I start java app, then javaapp start notepad, then javaapp send alt+f4 to notepad. Javaapp will run from Administrator account.
Question is only about Windows OS.
EDIT: missed question about starting…
To create, use Runtime.getRuntime().exec()
To destroy, use: Process.destroy()
From the javadoc: