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


Groups > comp.lang.ruby > #2154

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

From Ethan Huo <firewall888@hotmail.com>
Newsgroups comp.lang.ruby
Subject Re: how to refine the code to avoid using fork on windows?
Date 2011-04-02 08:50 -0500
Organization Service de news de lacave.net
Message-ID <30d0f1b4c2d37875222b69a5663a2be5@ruby-forum.com> (permalink)
References <21a67789ae6ce6e83dd836329b50863f@ruby-forum.com>

Show all headers | View raw


i tried using win32-process to emulate #fork, although the code need no 
changes, the behavior of win32-process' fork is different from Linux 
fork, finally i used #spawn, and it seems work well

-- 
Posted via http://www.ruby-forum.com/.

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


Thread

how to refine the code to avoid using fork on windows? Ethan Huo <firewall888@hotmail.com> - 2011-03-31 09:18 -0500
  Re: how to refine the code to avoid using fork on windows? Tony Arcieri <tony.arcieri@medioh.com> - 2011-03-31 22:13 -0500
  Re: how to refine the code to avoid using fork on windows? Ethan Huo <firewall888@hotmail.com> - 2011-04-02 08:50 -0500

csiph-web