Update getCommand to escape all arguments.