test/test_commands.rb
# Calls bin/skim as a subprocess.
#
# Yields $stdin to the caller and returns a tupel (out, err) with the
# contents of $stdout and $stderr.
Calls bin/skim as a subprocess.
Yields $stdin to the caller and returns a tupel (out, err) with the
contents of $stdout and $stderr.
Calls bin / skim as a subprocess . Yields $stdin to the caller and returns a tupel ( out err ) with the contents of $stdout and $stderr .
def exec_skim(*args)
    out, err = nil, nil
    Open3.popen3 'ruby', 'bin/skim', *args do |stdin, stdout, stderr, wait_thread|
      yield stdin if block_given?
      stdin.close
      out, err = stdout.read, stderr.read
    end
    return out, err
  end
def exec_skim ( * args ) out , err = nil , nil Open3 . popen3 'ruby' , 'bin/skim' , * args do | stdin , stdout , stderr , wait_thread | yield stdin if block_given? stdin . close out , err = stdout . read , stderr . read end return out , err end
Calls bin/skim as a subprocess.
Calls bin / skim as a subprocess .
args
<not_specific>