SyntaxFix
Write A Post
Hire A Developer
Questions
Pass your arguments in constructor itself.
Process process = new ProcessBuilder("C:\\PathToExe\\MyExe.exe","param1","param2").start();