class Buildr::ProcessStatus

Attributes

exitstatus[R]
pid[R]
stopsig[R]
termsig[R]

Public Class Methods

new(pid, success, exitstatus) click to toggle source
# File lib/buildr/core/util.rb, line 300
def initialize(pid, success, exitstatus)
  @pid = pid
  @success = success
  @exitstatus = exitstatus

  @termsig = nil
  @stopsig = nil
end

Public Instance Methods

&(num) click to toggle source
# File lib/buildr/core/util.rb, line 309
def &(num)
  pid & num
end
==(other) click to toggle source
# File lib/buildr/core/util.rb, line 313
def ==(other)
  pid == other.pid
end
>>(num) click to toggle source
# File lib/buildr/core/util.rb, line 317
def >>(num)
  pid >> num
end
coredump?() click to toggle source
# File lib/buildr/core/util.rb, line 321
def coredump?
  false
end
exited?() click to toggle source
# File lib/buildr/core/util.rb, line 325
def exited?
  true
end
stopped?() click to toggle source
# File lib/buildr/core/util.rb, line 329
def stopped?
  false
end
success?() click to toggle source
# File lib/buildr/core/util.rb, line 333
def success?
  @success
end
to_i() click to toggle source
# File lib/buildr/core/util.rb, line 337
def to_i
  pid
end
to_int() click to toggle source
# File lib/buildr/core/util.rb, line 341
def to_int
  pid
end
to_s() click to toggle source
# File lib/buildr/core/util.rb, line 345
def to_s
  pid.to_s
end