From: botp Date: 2008-01-09T23:26:25+09:00 Subject: Re: exec command stops thread On Jan 9, 2008 10:15 PM, Junkone 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 "`"