class Cxxproject::Utils::Executable
Public Instance Methods
run_command(task, command)
click to toggle source
# File lib/cxxproject/utils/rbcurse_executable_ext.rb, line 4 def run_command(task, command) require 'open3' stdin, stdout, stderr = Open3.popen3(command) puts "StdOut:" puts stdout.readlines puts "StdErr:" puts stderr.readlines end