Method: ChildProcess.new
- Defined in:
- lib/childprocess.rb
.new(*args) ⇒ Object Also known as: build
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/childprocess.rb', line 16 def new(*args) case os when :macosx, :linux, :solaris, :bsd, :cygwin, :aix Unix::Process.new(*args) when :windows Windows::Process.new(*args) else raise Error, "unsupported platform #{platform_name.inspect}" end end |