method
new
new(sh, command, *opts)
public
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 Error::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