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

 

 

 

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to