From: Clark Snowdall Date: 2006-12-14T03:52:27+09:00 Subject: Re: Ruby, Windows XP, and CMD.exe > > why would say that? IO.popen and more than one thread is a disaster on > windows: if the parent doesn't read from the process fast enough one > will end > up with deadlock. > > regards. > > -a IO.popen wins! I tried the systemu first and yes that would return, but it never actually launched my app. In fact when I made cmd = 'cmd.exe' it didn't even launch it. I also tried it with cmd = 'START my_app.exe" but that also didn't work. But once I tried IO.popen that worked out of the box. Thanks to all who helped out on this one. Snowdall -- Posted via http://www.ruby-forum.com/.