X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109 Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!nospam.fr.eu.org!talisker.lacave.net!lacave.net!not-for-mail From: Ethan Huo Newsgroups: comp.lang.ruby Subject: Re: how to refine the code to avoid using fork on windows? Date: Sat, 2 Apr 2011 08:50:54 -0500 Organization: Service de news de lacave.net Lines: 7 Message-ID: <30d0f1b4c2d37875222b69a5663a2be5@ruby-forum.com> References: <21a67789ae6ce6e83dd836329b50863f@ruby-forum.com> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1301752270 73701 65.111.164.187 (2 Apr 2011 13:51:10 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Sat, 2 Apr 2011 13:51:10 +0000 (UTC) In-Reply-To: <21a67789ae6ce6e83dd836329b50863f@ruby-forum.com> X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 380802 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: <30d0f1b4c2d37875222b69a5663a2be5@ruby-forum.com> Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:2154 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/.