Class: Evilution::ProcessSupervisor::Handle

Inherits:
Struct
  • Object
show all
Defined in:
lib/evilution/process_supervisor.rb

Overview

One tracked child: leader pid, its process-group id (== pid for a group leader), the parent-side fds to close on reap, and an optional sandbox dir to remove on reap.

Instance Attribute Summary collapse

Instance Attribute Details

#fdsObject

Returns the value of attribute fds

Returns:

  • (Object)

    the current value of fds



33
34
35
# File 'lib/evilution/process_supervisor.rb', line 33

def fds
  @fds
end

#pgidObject

Returns the value of attribute pgid

Returns:

  • (Object)

    the current value of pgid



33
34
35
# File 'lib/evilution/process_supervisor.rb', line 33

def pgid
  @pgid
end

#pidObject

Returns the value of attribute pid

Returns:

  • (Object)

    the current value of pid



33
34
35
# File 'lib/evilution/process_supervisor.rb', line 33

def pid
  @pid
end

#sandbox_dirObject

Returns the value of attribute sandbox_dir

Returns:

  • (Object)

    the current value of sandbox_dir



33
34
35
# File 'lib/evilution/process_supervisor.rb', line 33

def sandbox_dir
  @sandbox_dir
end