runtime/exec_replaces_process_parens.rb

tests/_examples/runtime/exec_replaces_process_parens.rb in the metorex repository.

puts("before exec")
exec("echo replaced")
puts("never reached")

Output:

before exec
replaced