Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #2043

Re: how to refine the code to avoid using fork on windows?

From Jeremy Bopp <jeremy@bopp.net>
Newsgroups comp.lang.ruby
Subject Re: how to refine the code to avoid using fork on windows?
Date 2011-03-31 09:35 -0500
Organization Service de news de lacave.net
Message-ID <4D949129.3000005@bopp.net> (permalink)
References <21a67789ae6ce6e83dd836329b50863f@ruby-forum.com>

Show all headers | View raw


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

Back to comp.lang.ruby | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: how to refine the code to avoid using fork on windows? Jeremy Bopp <jeremy@bopp.net> - 2011-03-31 09:35 -0500
  Re: how to refine the code to avoid using fork on windows? Ethan Huo <firewall888@hotmail.com> - 2011-03-31 09:49 -0500
    Re: how to refine the code to avoid using fork on windows? Michal Suchanek <hramrach@centrum.cz> - 2011-03-31 10:15 -0500
      Re: how to refine the code to avoid using fork on windows? Quintus <sutniuq@gmx.net> - 2011-03-31 12:14 -0500
        Re: how to refine the code to avoid using fork on windows? Ethan Huo <firewall888@hotmail.com> - 2011-03-31 21:50 -0500
    Re: how to refine the code to avoid using fork on windows? Nick Klauer <klauer@gmail.com> - 2011-03-31 10:19 -0500

csiph-web