Module: JPTY

Defined in:
lib/jpty.rb,
lib/jpty/version.rb

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.spawn(command, timeout_sec = 0) ⇒ Object



15
16
17
18
# File 'lib/jpty.rb', line 15

def spawn(command, timeout_sec=0)
  expectinator = ExpectJ.new(timeout_sec)
  expectinator.spawn(command)
end