proper handling of spaces in command string, Mantis 3593

String handling was changed in Java Runtime.exec, change our code to
build command as String array.