blob: 3389c242ff1c616a0b07c2cf718e77141da1cf60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require File.expand_path('../../../../spec_helper', __FILE__)
platform_is_not :windows do
describe "Process::Status#pid" do
before :each do
@pid = ruby_exe("print $$").to_i
end
it "returns the pid of the process" do
$?.pid.should == @pid
end
end
end
|