I have the following line to run a batch file,
Process process = Runtime.getRuntime().exec(\"cmd /c start rake.bat\");
But I want it to ru
Process process = Runtime.getRuntime().exec("cmd /c start rake.bat");
If you are calling the above line from a java process to execute the batch file. This will by default run in background.