------ art_53604_3799819.1225730725309 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, Nov 3, 2008 at 9:34 AM, Dave Wilson <davywilson / hotmail.com> wrote: > Oh yes, and the new threads are running exe's e.g. > > > Thread.new { system("myExe") } > > -- > Posted via http://www.ruby-forum.com/. > > Threads don't spawn as separate processes in Ruby < 1.9 (I'm not positive about >9) You are actually creating a new process with the system command. If you are just trying to avoid blocking you could use system("start process") as start returns immediately. Otherwise I'm not sure, you might have to spawn via Win32API rather than system to get the pid. -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------ art_53604_3799819.1225730725309--