[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Why "Kernel#fork" on windows

Liang He

10/23/2007 4:04:00 PM

Kernel methods are usually able to be called directly, like gets, gsub,
binding, etc. But why "fork" is not recognized? Instead only
"Kernel#fork" is awared by interpreter?
--
Posted via http://www.ruby-....

2 Answers

Vasyl Smirnov

10/23/2007 4:16:00 PM

0

On Oct 23, 7:04 pm, Liang He <goal1...@hotmail.com> wrote:
> Kernel methods are usually able to be called directly, like gets, gsub,
> binding, etc. But why "fork" is not recognized? Instead only
> "Kernel#fork" is awared by interpreter?
> --
> Posted viahttp://www.ruby-....

Windows does not support fork, hence Ruby on Windows does not support
it either.

Robert Klemme

10/23/2007 4:28:00 PM

0

On 23.10.2007 18:16, Vasyl Smirnov wrote:
> On Oct 23, 7:04 pm, Liang He <goal1...@hotmail.com> wrote:
>> Kernel methods are usually able to be called directly, like gets, gsub,
>> binding, etc. But why "fork" is not recognized? Instead only
>> "Kernel#fork" is awared by interpreter?
>> --
>> Posted viahttp://www.ruby-....
>
> Windows does not support fork, hence Ruby on Windows does not support
> it either.

.... unless of course you are on cygwin. :-)

robert