module GitHub::Markup
def execute(command, target)
def execute(command, target) out = '' Open3.popen3(command) do |stdin, stdout, _| stdin.puts target stdin.close out = stdout.read end out.gsub("\r", '') rescue Errno::EPIPE "" end
def execute(command, target) out = '' Open3.popen3(command) do |stdin, stdout, _| stdin.puts target stdin.close out = stdout.read end out.gsub("\r", '') rescue Errno::EPIPE "" end