阅读背景:

过程之间的区别是什么?叉和过程。在Ruby 1.9.2产卵

来源:互联网 

What's the difference between Process.fork and the new Process.spawn methods in Ruby 1.9.2 and which one is better to run another program in a subprocess? As far as I understand Process.fork accepts block of code and Process.spawn takes a system command plus some other parameters. When I should use one instead of the other?What's the difference between Process.fork and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: