diff --git a/lib/pdf_tools/tool.rb b/lib/pdf_tools/tool.rb index 4e146f4..d0e765f 100644 --- a/lib/pdf_tools/tool.rb +++ b/lib/pdf_tools/tool.rb @@ -66,7 +66,7 @@ def call(*args) options[:stderr] = false if block_given? shell = PdfTools::Shell.new - stdout, stderr, status = shell.run(command, options) + stdout, stderr, status = shell.run(command, **options) yield stdout, stderr, status if block_given? stdout.chomp("\n")