windows command prompt - execute command in new process

by Anonymous   Last Updated December 06, 2018 15:01 PM

in command prompt I execute this line

java -jar <path_to_jd_gui_jar> <path_to_jar_file>

which opens a the jd-gui (jar viewer) to view a jar file. But if I close the cmd window it automatically closes the jd-gui window too. How can I execute this command so that the window that opens is independed from the command prompt?

I m guessing it has to start in a new process.

Tags : cmd.exe process


Answers 1


You may use the Windows START command:

start "" java -jar <path_to_jd_gui_jar> <path_to_jar_file>
harrymc
harrymc
December 06, 2018 14:45 PM

Related Questions