D
Daniel Berger
Hi all,
I am very pleased to announce the release of win32-process 0.1.0.
Many thanks go to Park Heesob for his work on this one.
What is it?
===========
This package provides fork, wait, wait2, waitpid and waitpid2 for
Win32 systems. It also provides an alternative kill method.
How was this accomplished?
==========================
See the docs and code for more details. Short answer:
CreateProcess("ruby $0")
Where can I get it?
===================
It's on the RAA. You can also find it on the project page at
http://rubyforge.org/projects/win32utils.
Quick Example:
==============
require 'win32/process'
include Win32
# In the child, using block form
Win32:rocess.fork do
7.times { |i|
puts "Child: #{i}"
sleep 1
}
end
# Back in the parent
4.times{ |i|
puts "Parent: #{i}"
sleep 1
}
Win32:rocess.wait
puts "Continuing on..."
Feedback welcome.
Enjoy!
The Win32 Utils Team
I am very pleased to announce the release of win32-process 0.1.0.
Many thanks go to Park Heesob for his work on this one.
What is it?
===========
This package provides fork, wait, wait2, waitpid and waitpid2 for
Win32 systems. It also provides an alternative kill method.
How was this accomplished?
==========================
See the docs and code for more details. Short answer:
CreateProcess("ruby $0")
Where can I get it?
===================
It's on the RAA. You can also find it on the project page at
http://rubyforge.org/projects/win32utils.
Quick Example:
==============
require 'win32/process'
include Win32
# In the child, using block form
Win32:rocess.fork do
7.times { |i|
puts "Child: #{i}"
sleep 1
}
end
# Back in the parent
4.times{ |i|
puts "Parent: #{i}"
sleep 1
}
Win32:rocess.wait
puts "Continuing on..."
Feedback welcome.
Enjoy!
The Win32 Utils Team