SyntaxFix
Write A Post
Hire A Developer
Questions
You just need to append your command after start in the string that you are passing.
String command = "cmd.exe /c start "+"*your command*"; Process child = Runtime.getRuntime().exec(command);