Sha256: 9d1be495d3d1c0a44615bd8524bc8ed392e2ebcd856efd5571879af2bd10fb86
Contents?: true
Size: 421 Bytes
Versions: 44
Compression:
Stored size: 421 Bytes
Contents
# frozen_string_literal: true require 'open4' module Lino class CommandLine def initialize(command_line) @command_line = command_line end def execute( stdin: '', stdout: $stdout, stderr: $stderr ) Open4.spawn( @command_line, stdin: stdin, stdout: stdout, stderr: stderr ) end def to_s @command_line end end end
Version data entries
44 entries across 44 versions & 1 rubygems
Version | Path |
---|---|
lino-2.1.0 | lib/lino/command_line.rb |
lino-2.0.0.pre.1 | lib/lino/command_line.rb |
lino-1.10.0.pre.2 | lib/lino/command_line.rb |
lino-1.10.0.pre.1 | lib/lino/command_line.rb |