Eeek! It is certainly not the same as using backquotes. exec _replaces_ the currently running process with its argument, he'd never return to ruby to do additional processing.
···
On Mar 8, 2006, at 10:01 AM, Steve Peters wrote:
Kernel.exec should be the same as using the backquotes
Slightly OTT, I accidently ran a perl script with:
ruby script.pl
The other day, and it executed fine!!!!
···
On 8 Mar 2006, at 18:13, Logan Capaldo wrote:
On Mar 8, 2006, at 10:01 AM, Steve Peters wrote:
Kernel.exec should be the same as using the backquotes
Eeek! It is certainly not the same as using backquotes. exec _replaces_ the currently running process with its argument, he'd never return to ruby to do additional processing.
Look at them gem called "session". It's nice for executing processes.
···
On 8 Mar 2006, at 18:13, Logan Capaldo wrote:
On Mar 8, 2006, at 10:01 AM, Steve Peters wrote:
Kernel.exec should be the same as using the backquotes
Eeek! It is certainly not the same as using backquotes. exec _replaces_ the currently running process with its argument, he'd never return to ruby to do additional processing.