new(sh, command, *opts) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/shell/system-command.rb, line 17
    def initialize(sh, command, *opts)
      if t = opts.find{|opt| !opt.kind_of?(String) && opt.class}
        Shell.Fail TypeError, t.class, "String"
      end
      super(sh)
      @command = command
      @opts = opts

      @input_queue = Thread::Queue.new
      @pid = nil

      sh.process_controller.add_schedule(self)
    end
Register or log in to add new notes.