Class: SProc::TaskInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/sproc/core.rb

Overview

Represents queryable info about the task run by this SubProcess

Instance Attribute Summary collapse

Instance Attribute Details

#cmd_strObject

Returns the value of attribute cmd_str

Returns:

  • (Object)

    the current value of cmd_str



29
30
31
# File 'lib/sproc/core.rb', line 29

def cmd_str
  @cmd_str
end

#exceptionObject

Returns the value of attribute exception

Returns:

  • (Object)

    the current value of exception



29
30
31
# File 'lib/sproc/core.rb', line 29

def exception
  @exception
end

#popen_threadObject

Returns the value of attribute popen_thread

Returns:

  • (Object)

    the current value of popen_thread



29
30
31
# File 'lib/sproc/core.rb', line 29

def popen_thread
  @popen_thread
end

#process_statusObject

Returns the value of attribute process_status

Returns:

  • (Object)

    the current value of process_status



29
30
31
# File 'lib/sproc/core.rb', line 29

def process_status
  @process_status
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



29
30
31
# File 'lib/sproc/core.rb', line 29

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



29
30
31
# File 'lib/sproc/core.rb', line 29

def stdout
  @stdout
end

#wall_timeObject

Returns the value of attribute wall_time

Returns:

  • (Object)

    the current value of wall_time



29
30
31
# File 'lib/sproc/core.rb', line 29

def wall_time
  @wall_time
end