Mega Code Archive
Categories
/
Ruby
/
Development
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"