On Jan 9, 2008 10:15 PM, Junkone <junkone1 / gmail.com> wrote:
> exec("copy   e:\\data\\stocks\\watchlists\\*.*    E:\\data\\MergedDb\
> \watchlists\\*.*")
> puts "copied"
>
> My prog execution stops after exec is done. not sure why. how can i
> run a command and continue processing after the command.

when #exec executes, it will replace the (whole) current running
program/process; thus you wont reach the "puts copied" portion..

try system or the backticks "`"