On 3/31/2011 09:18, Ethan Huo wrote:
> here is the thing, i need to move a previous ruby program from Linux to
> Windows, but Win doesn't support fork, how can i refine the code to make
> it work on Win?
> i googled a lot but still didn't get it, can anyone help me here?

Have you considered using Cygwin (http://cygwin.com) and the ruby
package it provides?  That will give you an emulated fork.  While Cygwin
is not a panacea for porting Unix applications to Windows, it may work
for you.

-Jeremy