Have you tried using open in bash/zsh? I’m not at my Mac but I’d try
Open -a “Books.app” filename.pdf