Ruby/Development/exec

Материал из Wiki.crossplatform.ru

Версия от 17:55, 13 сентября 2010; ViGOur (Обсуждение | вклад)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

execution is transferred to a different program, and the current program ceases immediately-the second line is never executed.

exec "ruby another_script.rb"
puts "This will never be displayed"