lib/command.rb in dev_commands-0.0.8 vs lib/command.rb in dev_commands-0.0.9
- old
+ new
@@ -52,12 +52,9 @@
self[:elapsed] = timer.elapsed_str
self[:end_time] = Time.now
else
begin
self[:output],self[:error],self[:exit_code]= Open3.capture3(self[:input])
-
-
- #self[:output] = `#{self[:input]}`
self[:elapsed] = timer.elapsed_str
self[:end_time] = Time.now
#self[:exit_code]=$?.to_i
rescue Exception => e
self[:elapsed] = timer.elapsed_str
\ No newline at end of file