Class: Md2Pdf::Shell
- Inherits:
-
Object
- Object
- Md2Pdf::Shell
- Defined in:
- lib/md2pdf/converter.rb
Instance Method Summary collapse
Instance Method Details
#exec(command_line) ⇒ Object
37 38 39 40 41 |
# File 'lib/md2pdf/converter.rb', line 37 def exec(command_line) require 'open3' stdin, stdout, stderr = Open3.popen3(command_line) return stdout.read end |