Changed runCommand to accept interface{} arguments