From: "Peña, Botp" Date: 2006-07-11T19:53:22+09:00 Subject: Re: Is possible to return after exec cmd? fr ollin: # why doesn't work command 5.times{exec "pwd"} like this 5.times{puts # "Hello"} ? since that is exec's feature. exec replaces current process. maybe you want system or ` irb(main):004:0> `echo am still here ` => "am still here\n" irb(main):005:0> system "echo am still here" am still here => true