From: Joel VanderWerf Date: 2009-02-25T05:04:46+09:00 Subject: Re: exec (new process or new thread?) to continue aidy wrote: > Hi, > > I have fired off an exe with the kernal method exec > > loader_app = "#{Dir.getwd}/PublishUi.exe" > exec(loader_app) Since you appear to be on windows, you can't fork, but you can do this: Thread.new do loader_app = "#{Dir.getwd}/PublishUi.exe" system(loader_app) end # continue with other stuff here This is a fairly cross-platform way to handle it. Of course on windows, you can also do system "start ..." and then you don't even need a ruby thread. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407