[Wtr-general] "fork" under win32-ruby -- bug??
Park, Chong SuhX
chong.suhx.park at intel.com
Thu Oct 12 18:39:52 EDT 2006
Hi,
I think it could be a bug in win32-process but just want to make sure
with anyone here who has any idea of going around this problem. If you
run following code:
require 'win32/process'
include Win32
p "In parent, pid = #$$"
fork do
p "In child, pid = #$$"
exist 99
end
Process.wait
You'll get something like:
"In parent, pid = 6132"
"In parent, pid = 1180" <---- Anyone has any idea on how to remove
this???
"In child, pid = 1180"
Parent process can't be two and can't even share pid with its child.
I'd greatly appreciate it if anyone has an idea to get around this
problem
Thanks
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061012/dbd93271/attachment-0001.html
More information about the Wtr-general
mailing list