Sha256: bc39314f514d4b8051277278ae780f019af45012a60ef6fcf6bf931c10f5c577

Contents?: true

Size: 461 Bytes

Versions: 64

Compression:

Stored size: 461 Bytes

Contents

require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper'

=begin
describe "Process.ppid" do
  it "returns the process id of the parent of this process" do

    read, write = IO.pipe

    child_pid = Process.fork {
      read.close
      write << "#{Process.ppid}\n"
      write.close
      exit!
    }
    write.close
    pid = read.gets
    read.close
    Process.wait(child_pid)
    pid.to_i.should == Process.pid
  end
end
=end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
rhodes-3.1.1 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.1.1.beta spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.1.0 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.1.0.beta.5 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.1.0.beta.4 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.1.0.beta.3 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.1.0.beta.2 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.1.0.beta.1 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.0.2 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.0.2.beta.1 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.0.1 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.0.1.beta.8 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.0.1.beta.7 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.0.1.beta.6 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.0.1.beta.5 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.0.1.beta.4 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.0.1.beta.3 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.0.1.beta.2 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.0.0 spec/framework_spec/app/spec/core/process/ppid_spec.rb
rhodes-3.0.0.beta.7 spec/framework_spec/app/spec/core/process/ppid_spec.rb