Running another ruby script from a ruby script

后端 未结 7 986
终归单人心
终归单人心 2020-12-01 04:48

In ruby, is it possible to specify to call another ruby script using the same ruby interpreter as the original script is being run by?

For example, if a.rb runs b.rb

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-01 05:05

    http://en.wikibooks.org/wiki/Ruby_Programming/Running_Multiple_Processes might help

提交回复
热议问题