I need to open a .jar file with a button through unreal and using system() worked but has some issues with the CMD opening up not closing, opens minimized and doesn’t let me close unreal app on opening the other app.
So I used FPlatformProcess::CreateProc() as in the screenshot attached. However, It works fine on exe files but does not work with Java .jar files, It gives me an error that I attached here in the second screenshot. Please let me know if I am using the function in a wrong way or if there is a solution to this problem.
I am using UE 5.0.0-1 EA not 4.
Thank you.