class CRB_Blast::Cmd
Attributes
cmd[RW]
status[RW]
stderr[RW]
stdout[RW]
Public Class Methods
new(cmd)
click to toggle source
# File lib/crb-blast/cmd.rb, line 9 def initialize cmd @cmd = cmd end
Public Instance Methods
run()
click to toggle source
# File lib/crb-blast/cmd.rb, line 13 def run @stdout, @stderr, @status = Open3.capture3 @cmd end