From: Ryan Allan Date: 2008-05-30T06:58:46+09:00 Subject: Re: ShellExecute and Win32OLE callback Thanks Siep; This does almost exactly what I want: > This is what I use in such cases (winXP) : > > system('start /w notepad') > # waits until notepad exits > system('start calc') > # does not wait > puts "calc should be running, bye." However, it does have the problem for which I originally used ShellExecute; I can't have the cmd.exe black window popping up with it. How can I keep it from showing on screen? (I'm running a background thread to another process, and stuff flashing on screen annoys the users.) Thanks again! -Ryan -- Posted via http://www.ruby-forum.com/.