Class: UnixProcess

Inherits:
Object
  • Object
show all
Defined in:
lib/unix_process.rb

Instance Method Summary collapse

Instance Method Details

#create(command) ⇒ Object


3
4
5
# File 'lib/unix_process.rb', line 3

def create(command)
  exec(command) if fork.nil?
end